summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 00:53:48 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 00:53:48 +0200
commitde2b59db7ce7d8dab10733f2204733cdd3142b17 (patch)
tree266c46e364aa42c4b341566724d45ea10995f3d5
parentminor fixes (diff)
downloadwinapi-debug-de2b59db7ce7d8dab10733f2204733cdd3142b17.tar.gz
winapi-debug-de2b59db7ce7d8dab10733f2204733cdd3142b17.zip
cmake: use CONFIGURE_DEPENDS
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b97e25..23b356e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,8 +41,8 @@ endif()
find_package(Boost CONFIG REQUIRED)
add_subdirectory(3rdparty/winapi/common EXCLUDE_FROM_ALL)
-file(GLOB_RECURSE winapi_debug_include "include/*.hpp")
-file(GLOB_RECURSE winapi_debug_src "src/*.cpp")
+file(GLOB_RECURSE winapi_debug_include CONFIGURE_DEPENDS "include/*.hpp")
+file(GLOB_RECURSE winapi_debug_src CONFIGURE_DEPENDS "src/*.cpp")
add_library(winapi_debug ${winapi_debug_include} ${winapi_debug_src})
target_compile_definitions(winapi_debug PUBLIC _NO_CVCONST_H)
target_include_directories(winapi_debug PUBLIC include/)