diff options
| author | Mark Rowe <mark@vector35.com> | 2025-07-28 19:45:56 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-07-30 16:48:38 -0700 |
| commit | 42878c46ace7ee6d267d26ee87b4d4015b4e4b2b (patch) | |
| tree | 398ff19da9c4bae81f5c8c87ad15592269a1cc06 /view/kernelcache/api/CMakeLists.txt | |
| parent | 3e9f6433c838cad88f0d97b3ac9f2aa402b83720 (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 'view/kernelcache/api/CMakeLists.txt')
| -rw-r--r-- | view/kernelcache/api/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/kernelcache/api/CMakeLists.txt b/view/kernelcache/api/CMakeLists.txt index 3097777b..b825b6ff 100644 --- a/view/kernelcache/api/CMakeLists.txt +++ b/view/kernelcache/api/CMakeLists.txt @@ -1,7 +1,7 @@ -cmake_minimum_required(VERSION 3.13 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(kernelcacheapi) -file(GLOB BN_MACHO_API_SOURCES *.cpp *.h) +file(GLOB BN_MACHO_API_SOURCES CONFIGURE_DEPENDS *.cpp *.h) add_library(kernelcacheapi OBJECT ${BN_MACHO_API_SOURCES}) |
