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. --- view/sharedcache/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core') diff --git a/view/sharedcache/core/CMakeLists.txt b/view/sharedcache/core/CMakeLists.txt index 1abd3b36..3eb2318a 100644 --- a/view/sharedcache/core/CMakeLists.txt +++ b/view/sharedcache/core/CMakeLists.txt @@ -9,7 +9,7 @@ if((NOT BN_API_PATH) AND (NOT BN_INTERNAL_BUILD)) endif() endif() -file(GLOB_RECURSE SOURCES *.cpp *.h ../../../objectivec/*) +file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS *.cpp *.h ../../../objectivec/*) add_library(sharedcachecore OBJECT ${SOURCES}) -- cgit v1.3.1