aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-01-31 07:35:19 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-01-31 07:35:19 -0700
commit0e555ea29c5306a6ce085eb14dcbac605a0e7265 (patch)
tree99491b1f8bb75596750a79f5caae70b52c66703b
parenta26154680ee443216d7346ea2f44a1205cc251f9 (diff)
downloadusermoji-0e555ea29c5306a6ce085eb14dcbac605a0e7265.tar.xz
cmake: GH1428, Reenable subproject builds
SCRIPTS dir was defined using CMAKE_SOURCE_DIR which prevented LVL from building correctly if used as a subproject. Changed to use CMAKE_CURRENT_SOURCE_DIR. Change-Id: I201fcfde78b65df80c3c74373a26e4d518770806
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 77e365af..8c01f73a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()
endif()
-set(SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/scripts")
+set(SCRIPTS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/scripts")
# Header file for CMake settings
include_directories("${PROJECT_SOURCE_DIR}/include")