projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a261546
)
cmake: GH1428, Reenable subproject builds
author
Mark Lobodzinski
<mark@lunarg.com>
Tue, 31 Jan 2017 14:35:19 +0000
(07:35 -0700)
committer
Mark Lobodzinski
<mark@lunarg.com>
Tue, 31 Jan 2017 14:35:19 +0000
(07:35 -0700)
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
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
77e365a
..
8c01f73
100644
(file)
--- 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")