diff options
| author | Tony Barbour <tony@LunarG.com> | 2016-03-01 16:08:41 -0700 |
|---|---|---|
| committer | Tony Barbour <tony@LunarG.com> | 2016-03-02 09:33:14 -0700 |
| commit | 0ba6b3cd96230418b4f03c878309b75ccb4f8966 (patch) | |
| tree | d7dd009f86f8ab3a0fed886781471238ae636a02 | |
| parent | 375cbe94b296080f4eeba6774256ac6465f48ade (diff) | |
| download | usermoji-0ba6b3cd96230418b4f03c878309b75ccb4f8966.tar.xz | |
smoke: use $<TARGET_FILE> instead of LOCATION prop
| -rw-r--r-- | demos/smoke/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/smoke/CMakeLists.txt b/demos/smoke/CMakeLists.txt index 0c3dd1cd..06ec737b 100644 --- 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) |
