From: Lenny Komow Date: Mon, 26 Feb 2018 22:29:58 +0000 (-0700) Subject: build: Avoid using CMAKE_BINARY_DIR X-Git-Tag: upstream/1.1.92~316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=938f556c1f7a8b5d554624039f60b4e433515b18;p=platform%2Fupstream%2FVulkan-Tools.git build: Avoid using CMAKE_BINARY_DIR Using CMAKE_BINARY_DIR was breaking the use of this repo as a submodule because the top level binary directory is different when build as part of another repo. --- diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt index 8b6464e..e7db053 100644 --- a/demos/CMakeLists.txt +++ b/demos/CMakeLists.txt @@ -1,6 +1,6 @@ set(DEMO_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR}/.. ) if(CMAKE_SYSTEM_NAME STREQUAL "Windows")