aboutsummaryrefslogtreecommitdiff
path: root/cube/macOS/cubepp
diff options
context:
space:
mode:
authorJeremy Kniager <jeremyk@lunarg.com>2018-06-07 11:56:08 -0600
committerjeremyk-lunarg <jeremyk@lunarg.com>2018-06-07 15:15:42 -0600
commit84230dc24e866d887f6d856c6e12745292703d49 (patch)
tree800ca1753c639b7460a09c8f06725596519e9c6d /cube/macOS/cubepp
parentf67463d3b5531f522a1c4935a5849bd9e6fe5e3a (diff)
downloadusermoji-84230dc24e866d887f6d856c6e12745292703d49.tar.xz
cmake: Fix macOS CMake files to include dylib file
Fixed CMake files for macOS to include the vulkan dylib loader file in the bundles instead of the vulkan framework file. Change-Id: Ib59873fc392c8894d8a85b5a10bc0f17aa29061a
Diffstat (limited to 'cube/macOS/cubepp')
-rw-r--r--cube/macOS/cubepp/cubepp.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cube/macOS/cubepp/cubepp.cmake b/cube/macOS/cubepp/cubepp.cmake
index 754f5245..32f67007 100644
--- a/cube/macOS/cubepp/cubepp.cmake
+++ b/cube/macOS/cubepp/cubepp.cmake
@@ -49,7 +49,8 @@ target_include_directories(cubepp PRIVATE
${MOLTENVK_DIR}/MoltenVK/include
)
-target_link_libraries(cubepp ${LIBVK} "-framework Cocoa -framework QuartzCore")
+# We do this so vulkaninfo is linked to an individual library and NOT a framework.
+target_link_libraries(cubepp ${Vulkan_LIBRARY} "-framework Cocoa -framework QuartzCore")
set_target_properties(cubepp PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/macOS/cubepp/Info.plist