summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/c/CMakeLists.txt2
-rw-r--r--lang/rust/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/c/CMakeLists.txt b/lang/c/CMakeLists.txt
index 3ff40edd..d7b3031b 100644
--- a/lang/c/CMakeLists.txt
+++ b/lang/c/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.h)
diff --git a/lang/rust/CMakeLists.txt b/lang/rust/CMakeLists.txt
index dde7c3fa..3a9a74ba 100644
--- a/lang/rust/CMakeLists.txt
+++ b/lang/rust/CMakeLists.txt
@@ -6,7 +6,7 @@ if(NOT BN_INTERNAL_BUILD)
add_subdirectory(${PROJECT_SOURCE_DIR}/../.. ${PROJECT_BINARY_DIR}/api)
endif()
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.h)