Skip to content

Commit

Permalink
Added CONFIGURE_DEPENDS to cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliom committed Jan 8, 2025
1 parent 8dadd08 commit ef98d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BasicRenderer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cmake_policy(SET CMP0135 NEW)
# ------ BasicRenderer Library ----- #

set (LIBRARY_NAME BasicRendererLib)
file(GLOB SOURCES "${PROJECT_SOURCE_DIR}/source/*.cpp" "${PROJECT_SOURCE_DIR}/include/*.h")
file(GLOB SOURCES CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/source/*.cpp" "${PROJECT_SOURCE_DIR}/include/*.h")
list(REMOVE_ITEM SOURCES "${PROJECT_SOURCE_DIR}/source/main.cpp")

add_library(${LIBRARY_NAME} STATIC ${SOURCES})
Expand Down

0 comments on commit ef98d7f

Please sign in to comment.