aboutsummaryrefslogtreecommitdiff
path: root/cube/macOS
diff options
context:
space:
mode:
Diffstat (limited to 'cube/macOS')
-rw-r--r--cube/macOS/cube/cube.cmake16
-rw-r--r--cube/macOS/cubepp/cubepp.cmake20
2 files changed, 0 insertions, 36 deletions
diff --git a/cube/macOS/cube/cube.cmake b/cube/macOS/cube/cube.cmake
index 948a4650..69952eeb 100644
--- a/cube/macOS/cube/cube.cmake
+++ b/cube/macOS/cube/cube.cmake
@@ -78,19 +78,3 @@ else()
${CMAKE_CURRENT_BINARY_DIR}/cube.app/Contents/Frameworks/libMoltenVK.dylib
DEPENDS vulkan)
endif()
-
-# Fix up the library search path in the executable to find (loader) libraries in the bundle.
-install(CODE "
- include(BundleUtilities)
- fixup_bundle(${CMAKE_INSTALL_PREFIX}/cube/cube.app \"\" \"\")
- "
- COMPONENT Runtime)
-
-# ~~~
-# Not sure this is needed. When activated, it makes a symlink from
-# libvulkan.dylib to libvulkan.1.dylib (which in turn symlinks to libvulkan.1.0.xx.dylib.)
-# install(FILES
-# "${CMAKE_BINARY_DIR}/loader/libvulkan.dylib"
-# DESTINATION "demos/cube.app/Contents/MacOS"
-# COMPONENT Runtime)
-# ~~~
diff --git a/cube/macOS/cubepp/cubepp.cmake b/cube/macOS/cubepp/cubepp.cmake
index 31ff0125..7e27e9c6 100644
--- a/cube/macOS/cubepp/cubepp.cmake
+++ b/cube/macOS/cubepp/cubepp.cmake
@@ -67,10 +67,6 @@ set_source_files_properties("${CMAKE_BINARY_DIR}/staging-json/MoltenVK_icd.json"
MACOSX_PACKAGE_LOCATION
"Resources/vulkan/icd.d")
-# Direct the MoltenVK library to the right place.
-install(FILES "${MOLTENVK_DIR}/MoltenVK/macOS/libMoltenVK.dylib" DESTINATION "demos/cubepp.app/Contents/Frameworks"
- COMPONENT Runtime)
-
# Copy the MoltenVK lib into the bundle.
if(${CMAKE_GENERATOR} MATCHES "^Xcode.*")
add_custom_command(TARGET cubepp POST_BUILD
@@ -83,19 +79,3 @@ else()
${CMAKE_CURRENT_BINARY_DIR}/cubepp.app/Contents/Frameworks/libMoltenVK.dylib
DEPENDS vulkan)
endif()
-
-# Fix up the library search path in the executable to find (loader) libraries in the bundle.
-install(CODE "
- include(BundleUtilities)
- fixup_bundle(${CMAKE_INSTALL_PREFIX}/cube/cubepp.app \"\" \"\")
- "
- COMPONENT Runtime)
-
-# ~~~
-# Not sure this is needed. When activated, it makes a symlink from
-# libvulkan.dylib to libvulkan.1.dylib (which in turn symlinks to libvulkan.1.0.xx.dylib.)
-# install(FILES
-# "${CMAKE_BINARY_DIR}/loader/libvulkan.dylib"
-# DESTINATION "demos/cubepp.app/Contents/MacOS"
-# COMPONENT Runtime)
-# ~~~