Skip to content

Commit 15d6b24

Browse files
committed
Fix for including CMake in another project
Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026
1 parent b949176 commit 15d6b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ message(STATUS "${CMAKE_BUILD_TYPE} build configuration")
6262

6363
# Set the runtime source directory
6464
if(NOT DEFINED IGDRCL_SOURCE_DIR)
65-
set(IGDRCL_SOURCE_DIR ${CMAKE_SOURCE_DIR})
65+
set(IGDRCL_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
6666
endif()
6767

6868
# Set our build directory

0 commit comments

Comments
 (0)