summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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/)