summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-28 19:45:56 -0700
committerMark Rowe <mark@vector35.com>2025-07-30 16:48:38 -0700
commit42878c46ace7ee6d267d26ee87b4d4015b4e4b2b (patch)
tree398ff19da9c4bae81f5c8c87ad15592269a1cc06 /plugins
parent3e9f6433c838cad88f0d97b3ac9f2aa402b83720 (diff)
[CMake] Specify CONFIGURE_DEPENDS for all file(GLOB ..)
This ensures that CMake detects when files that match the glob are added or removed.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/rtti/CMakeLists.txt2
-rw-r--r--plugins/stack_render_layer/CMakeLists.txt2
-rw-r--r--plugins/warp/api/python/CMakeLists.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/rtti/CMakeLists.txt b/plugins/rtti/CMakeLists.txt
index 25891070..6db8a973 100644
--- a/plugins/rtti/CMakeLists.txt
+++ b/plugins/rtti/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
project(rtti)
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.c
*.h)
diff --git a/plugins/stack_render_layer/CMakeLists.txt b/plugins/stack_render_layer/CMakeLists.txt
index 5368d1e7..fed7e7e2 100644
--- a/plugins/stack_render_layer/CMakeLists.txt
+++ b/plugins/stack_render_layer/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
project(stack_render_layer)
-file(GLOB SOURCES
+file(GLOB SOURCES CONFIGURE_DEPENDS
*.cpp
*.c
*.h)
diff --git a/plugins/warp/api/python/CMakeLists.txt b/plugins/warp/api/python/CMakeLists.txt
index 8e6003c0..98337285 100644
--- a/plugins/warp/api/python/CMakeLists.txt
+++ b/plugins/warp/api/python/CMakeLists.txt
@@ -1,8 +1,8 @@
-cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
project(warp-python-api)
-file(GLOB PYTHON_SOURCES ${PROJECT_SOURCE_DIR}/*.py)
+file(GLOB PYTHON_SOURCES CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/*.py)
list(REMOVE_ITEM PYTHON_SOURCES ${PROJECT_SOURCE_DIR}/_warpcore.py)
list(REMOVE_ITEM PYTHON_SOURCES ${PROJECT_SOURCE_DIR}/enums.py)