Source fix

v1
Brett 2022-12-25 23:25:32 -05:00
parent b2d8fddbdd
commit 90b12dac78
1 changed files with 2 additions and 2 deletions

View File

@ -7,13 +7,13 @@ option(BUILD_STD "Build the BLT standard utilities." ON)
option(BUILD_PROFILING "Build the BLT profiler extension" ON) option(BUILD_PROFILING "Build the BLT profiler extension" ON)
if(${BUILD_STD}) if(${BUILD_STD})
file(GLOB_RECURSE STD_FILES "${CMAKE_SOURCE_DIR}/src/blt/std/*.cpp") file(GLOB_RECURSE STD_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/std/*.cpp")
else() else()
set(STD_FILES "") set(STD_FILES "")
endif() endif()
if(${BUILD_PROFILING}) if(${BUILD_PROFILING})
file(GLOB_RECURSE PROFILING_FILES "${CMAKE_SOURCE_DIR}/src/blt/profiling/*.cpp") file(GLOB_RECURSE PROFILING_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/profiling/*.cpp")
else() else()
set(PROFILING_FILES "") set(PROFILING_FILES "")
endif() endif()