1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-06 00:41:01 +02:00

add CONFIGURE_DEPENDS to glob sources

This commit is contained in:
Lars Melchior 2020-04-14 14:47:26 +02:00
parent 7a8809648c
commit 83ef03c7df
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ CPMAddPackage(
# ---- Create standalone executable ----
file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
add_executable(GreeterStandalone ${sources})