From 15d6b24eded2c43ef2a5409a7e9631180d198db5 Mon Sep 17 00:00:00 2001 From: Brandon Fliflet Date: Fri, 25 Jan 2019 06:20:14 -0800 Subject: [PATCH] Fix for including CMake in another project Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5be70b9d8d1ed..1a9393c4fafb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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