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:
2b88b7e
)
vkcube: fix unknown CMake command error
author
Timo Gurr
<timo.gurr@gmail.com>
Wed, 5 Feb 2020 13:27:18 +0000
(14:27 +0100)
committer
jeremyk-lunarg
<jeremyk@lunarg.com>
Wed, 5 Feb 2020 22:08:10 +0000
(15:08 -0700)
CMake Error at cube/CMakeLists.txt:177 (CHECK_LIBRARY_EXISTS):
Unknown CMake command "CHECK_LIBRARY_EXISTS".
cube/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/cube/CMakeLists.txt
b/cube/CMakeLists.txt
index
78430df
..
2c6906b
100644
(file)
--- a/
cube/CMakeLists.txt
+++ b/
cube/CMakeLists.txt
@@
-174,6
+174,7
@@
elseif(NOT WIN32)
cube.vert.inc
cube.frag.inc)
target_link_libraries(vkcube Vulkan::Vulkan)
+ include(CheckLibraryExists)
CHECK_LIBRARY_EXISTS("rt" clock_gettime "" NEED_RT)
if (NEED_RT)
target_link_libraries(vkcube rt)