Better file pick up with cmake

This commit is contained in:
2026-08-23 20:55:17 -07:00
parent c9fa1b8299
commit 518c664741
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ set(ENGINE_NAME ${PROJECT_NAME})
add_library(${ENGINE_NAME} STATIC)
file(GLOB_RECURSE SOURCES src/*.cpp)
file(GLOB_RECURSE HEADERS include/*.hpp)
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS include/*.hpp)
target_sources(${ENGINE_NAME} PRIVATE
${SOURCES}