mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 05:17:44 -07:00
Fix build with Xcode 15.4 by bumping MoltenVK version to 1.2.8
This commit is contained in:
parent
7ba539d796
commit
dc9d337b79
4
Externals/MoltenVK/CMakeLists.txt
vendored
4
Externals/MoltenVK/CMakeLists.txt
vendored
@ -1,6 +1,6 @@
|
||||
include(ExternalProject)
|
||||
|
||||
set(MOLTENVK_VERSION "v1.2.7")
|
||||
set(MOLTENVK_VERSION "v1.2.8")
|
||||
|
||||
ExternalProject_Add(MoltenVK
|
||||
GIT_REPOSITORY https://github.com/KhronosGroup/MoltenVK.git
|
||||
@ -12,7 +12,7 @@ ExternalProject_Add(MoltenVK
|
||||
|
||||
BUILD_COMMAND make -C <SOURCE_DIR> macos
|
||||
BUILD_IN_SOURCE ON
|
||||
BUILD_BYPRODUCTS <SOURCE_DIR>/Package/Release/MoltenVK/dylib/macOS/libMoltenVK.dylib
|
||||
BUILD_BYPRODUCTS <SOURCE_DIR>/Package/Release/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib
|
||||
|
||||
INSTALL_COMMAND ""
|
||||
|
||||
|
@ -614,8 +614,8 @@ if(APPLE)
|
||||
if(USE_BUNDLED_MOLTENVK)
|
||||
add_dependencies(dolphin-emu MoltenVK)
|
||||
ExternalProject_Get_Property(MoltenVK SOURCE_DIR)
|
||||
target_sources(dolphin-emu PRIVATE "${SOURCE_DIR}/Package/Release/MoltenVK/dylib/macOS/libMoltenVK.dylib")
|
||||
set_source_files_properties("${SOURCE_DIR}/Package/Release/MoltenVK/dylib/macOS/libMoltenVK.dylib" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks GENERATED ON)
|
||||
target_sources(dolphin-emu PRIVATE "${SOURCE_DIR}/Package/Release/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib")
|
||||
set_source_files_properties("${SOURCE_DIR}/Package/Release/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks GENERATED ON)
|
||||
else()
|
||||
find_file(MOLTENVK_DYLIB NAMES libMoltenVK.dylib PATH_SUFFIXES lib)
|
||||
if(NOT MOLTENVK_DYLIB)
|
||||
|
Loading…
Reference in New Issue
Block a user