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/kernelcache/ui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/kernelcache/ui') diff --git a/view/kernelcache/ui/CMakeLists.txt b/view/kernelcache/ui/CMakeLists.txt index b2397486..e2f04d0d 100644 --- a/view/kernelcache/ui/CMakeLists.txt +++ b/view/kernelcache/ui/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) find_package(Qt6 COMPONENTS Core Gui Widgets REQUIRED) -file(GLOB SOURCES *.cpp *.h) +file(GLOB SOURCES CONFIGURE_DEPENDS *.cpp *.h) list(FILTER SOURCES EXCLUDE REGEX moc_.*) list(FILTER SOURCES EXCLUDE REGEX qrc_.*) -- cgit v1.3.1