aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-01-23 17:54:26 -0700
committerMark Lobodzinski <mark@lunarg.com>2018-01-25 11:12:15 -0700
commit323d985fafe06e4f12d15db24a3fa8b79ab6ec69 (patch)
tree2a767819d1803cfa7e12ea44343de35e04ab33f6
parent6c15b9c11d951ecc55dea9116b18aedee1ee6695 (diff)
downloadusermoji-323d985fafe06e4f12d15db24a3fa8b79ab6ec69.tar.xz
demos: Update cube/smoke for submodule compatibility
-rw-r--r--demos/CMakeLists.txt2
-rw-r--r--demos/smoke/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt
index 3139d153..0f024b34 100644
--- a/demos/CMakeLists.txt
+++ b/demos/CMakeLists.txt
@@ -58,7 +58,7 @@ endif()
file(GLOB TEXTURES
"${PROJECT_SOURCE_DIR}/demos/*.ppm"
)
-file(COPY ${TEXTURES} DESTINATION ${CMAKE_BINARY_DIR}/demos)
+file(COPY ${TEXTURES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
diff --git a/demos/smoke/CMakeLists.txt b/demos/smoke/CMakeLists.txt
index 9b52aa16..33e697f7 100644
--- a/demos/smoke/CMakeLists.txt
+++ b/demos/smoke/CMakeLists.txt
@@ -80,7 +80,7 @@ else()
endif()
endif()
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/demos)
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/demos)
add_executable(smoketest ${sources})
target_compile_definitions(smoketest ${definitions})