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:
parent
7a8809648c
commit
83ef03c7df
3 changed files with 4 additions and 4 deletions
|
@ -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})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue