From 42878c46ace7ee6d267d26ee87b4d4015b4e4b2b Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Mon, 28 Jul 2025 19:45:56 -0700 Subject: [CMake] Specify CONFIGURE_DEPENDS for all file(GLOB ..) This ensures that CMake detects when files that match the glob are added or removed. --- plugins/warp/api/python/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/warp/api/python') 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) -- cgit v1.3.1