diff options
author | Abdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com> | 2021-11-09 10:15:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 16:15:23 +0000 |
commit | 4198557d871180a6f212fe6f0fdc7185a19b7136 (patch) | |
tree | b6de819404672c8e78ad00c895554cc10d7c3e7e | |
parent | 29dfa6b2c58887b44d9f89ce67435e75e84f12b9 (diff) |
Remove redundant rules for generating Java and Python kinds. (#7616)
This PR addresses an issue where the Ninja build generator errors when either Java or Python bindings are enabled. As shown in the error message below, the error occurs because the build.ninja file generated by CMake contains multiple rules for generating OUTPUT and BYPRODUCTS files.
-rw-r--r-- | src/api/java/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/api/python/CMakeLists.txt | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/api/java/CMakeLists.txt b/src/api/java/CMakeLists.txt index 754e20bf8..58f9ee4b5 100644 --- a/src/api/java/CMakeLists.txt +++ b/src/api/java/CMakeLists.txt @@ -28,8 +28,6 @@ set(JAVA_KIND_FILE add_custom_command( OUTPUT ${JAVA_KIND_FILE} - BYPRODUCTS - ${JAVA_KIND_FILE} COMMAND "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}/genkinds.py" diff --git a/src/api/python/CMakeLists.txt b/src/api/python/CMakeLists.txt index 235e28100..32022effe 100644 --- a/src/api/python/CMakeLists.txt +++ b/src/api/python/CMakeLists.txt @@ -57,8 +57,6 @@ set(GENERATED_FILES add_custom_command( OUTPUT ${GENERATED_FILES} - BYPRODUCTS - ${GENERATED_FILES} COMMAND "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}/genkinds.py" |