diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2018-01-22 16:42:02 -0700 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2018-01-23 09:52:37 -0700 |
| commit | d8f51ed0dbfa58cffa24e778b8130926fe50164c (patch) | |
| tree | 633ac7166d196330925574eac6f4481d0005c635 | |
| parent | 544d78901d5ad8f0ecb116d1bb686052e176b51c (diff) | |
| download | usermoji-d8f51ed0dbfa58cffa24e778b8130926fe50164c.tar.xz | |
cmake: Fix externals for submodule/subtree builds
Change-Id: Ia1c31ff75c9bf5c3d1ae9b903213437c3ae1ef06
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 574f11f9..9d814360 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ set(SPIRV_TOOLS_BINARY_ROOT "${CMAKE_BINARY_DIR}/../SPIRV-Tools" CACHE STRING "U set(SPIRV_TOOLS_OPT_BINARY_ROOT "${CMAKE_BINARY_DIR}/../SPIRV-Tools/opt" CACHE STRING "User defined path to the SPIRV-Tools-opt binaries for this project") # Define a variable for a default root location to the gslang, SPIRV-Tools and other external sources and cache it to allow the user to customize it as needed -set(EXTERNAL_SOURCE_ROOT "${CMAKE_SOURCE_DIR}/external" CACHE STRING "Root path to external sources such as glslang and SPIRV-Tools") +set(EXTERNAL_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/external" CACHE STRING "Root path to external sources such as glslang and SPIRV-Tools") if (WIN32) |
