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:
375cbe9
)
smoke: use $<TARGET_FILE> instead of LOCATION prop
author
Tony Barbour
<tony@LunarG.com>
Tue, 1 Mar 2016 23:08:41 +0000
(16:08 -0700)
committer
Tony Barbour
<tony@LunarG.com>
Wed, 2 Mar 2016 16:33:14 +0000
(09:33 -0700)
demos/smoke/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/demos/smoke/CMakeLists.txt
b/demos/smoke/CMakeLists.txt
index
0c3dd1c
..
06ec737
100644
(file)
--- a/
demos/smoke/CMakeLists.txt
+++ b/
demos/smoke/CMakeLists.txt
@@
-52,8
+52,7
@@
set(includes
set(libraries PRIVATE ${CMAKE_THREAD_LIBS_INIT})
if(TARGET vulkan)
- get_property(vulkan_location TARGET vulkan PROPERTY LOCATION)
- list(APPEND definitions PRIVATE -DUNINSTALLED_LOADER="${vulkan_location}")
+ list(APPEND definitions PRIVATE -DUNINSTALLED_LOADER="$<TARGET_FILE:vulkan>")
endif()
if(WIN32)