From 41f8f567c5919c20e9ac59d4cade4eca22596ced Mon Sep 17 00:00:00 2001 From: Jeremy Hayes Date: Sun, 9 Oct 2016 12:26:27 -0600 Subject: [PATCH] demos: fix cube cmake Change-Id: Ia7a79bee7353ac484e691916591c585643a8753d --- demos/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt index 7b11061..837d32d 100644 --- a/demos/CMakeLists.txt +++ b/demos/CMakeLists.txt @@ -108,8 +108,8 @@ else() endif() add_executable(cube WIN32 cube.c ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) + target_link_libraries(cube ${LIBRARIES}) endif() -target_link_libraries(cube ${LIBRARIES}) if(UNIX) add_executable(cubepp cube.cpp ${CMAKE_BINARY_DIR}/demos/cube-vert.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv) -- 2.7.4