From 90b12dac78a7c82ab61a5683dfbf383e585ee49d Mon Sep 17 00:00:00 2001 From: Brett Date: Sun, 25 Dec 2022 23:25:32 -0500 Subject: [PATCH] Source fix --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dcf2dd9..73fae51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,13 +7,13 @@ option(BUILD_STD "Build the BLT standard utilities." ON) option(BUILD_PROFILING "Build the BLT profiler extension" ON) 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() set(STD_FILES "") endif() 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() set(PROFILING_FILES "") endif()