aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-01-19 11:50:58 -0700
committerMark Lobodzinski <mark@lunarg.com>2018-01-22 11:16:43 -0700
commitc0400d47c79737bbf5b57fb25d5c9723fd027bec (patch)
tree5c1ef17de9f076bc67faf259f4b7cc6a68becfb4
parentc1e623330ad120d9c7a7be393886a91427cebfcd (diff)
downloadusermoji-c0400d47c79737bbf5b57fb25d5c9723fd027bec.tar.xz
cmake: Fix non-existant cmake variable
Specified cmake variable does not exist, caused problems in some out-of-source builds. Change-Id: I526117ef060efea40451752e5fe7bad1e7a5589e
-rw-r--r--icd/CMakeLists.txt2
-rw-r--r--layers/CMakeLists.txt2
-rw-r--r--loader/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/icd/CMakeLists.txt b/icd/CMakeLists.txt
index a7a103d5..363a41a5 100644
--- a/icd/CMakeLists.txt
+++ b/icd/CMakeLists.txt
@@ -101,7 +101,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../loader
${CMAKE_CURRENT_SOURCE_DIR}/../include/vulkan
${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_PROJECT_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_BINARY_DIR}
)
diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index eb23788f..d3b13e50 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -141,7 +141,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../loader
${CMAKE_CURRENT_SOURCE_DIR}/../include/vulkan
${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_PROJECT_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_BINARY_DIR}
)
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index f2bd1527..0def2a26 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -1,7 +1,7 @@
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
- ${CMAKE_PROJECT_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_BINARY_DIR}
)