Fix for including CMake in another project

Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026
This commit is contained in:
Brandon Fliflet
2019-01-25 06:20:14 -08:00
parent b94917659a
commit 15d6b24ede

View File

@@ -62,7 +62,7 @@ message(STATUS "${CMAKE_BUILD_TYPE} build configuration")
# Set the runtime source directory
if(NOT DEFINED IGDRCL_SOURCE_DIR)
set(IGDRCL_SOURCE_DIR ${CMAKE_SOURCE_DIR})
set(IGDRCL_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
endif()
# Set our build directory