diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-24 03:39:59 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-24 03:39:59 +0000 |
| commit | 4d66ac648516c48e2aba5f0a51c837af2105dd71 (patch) | |
| tree | ac77cc9737e9c1dbc1e50beaf04037d646f1e459 /Graphics/GraphicsEngineVulkan | |
| parent | Attempting to fix travis build (diff) | |
| download | DiligentCore-4d66ac648516c48e2aba5f0a51c837af2105dd71.tar.gz DiligentCore-4d66ac648516c48e2aba5f0a51c837af2105dd71.zip | |
CMake: updated paths to MoltenVK libraries on iOS
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt index 05c0915b..cab747e8 100644 --- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt +++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt @@ -257,8 +257,10 @@ if(PLATFORM_WIN32) elseif(PLATFORM_MACOS) # Use Volk elseif(PLATFORM_IOS) - set(Vulkan_LIBRARY ${MoltenVK_LIBRARY}) - list(APPEND PRIVATE_DEPENDENCIES ${Vulkan_LIBRARY}) + list(APPEND PRIVATE_DEPENDENCIES + "${MoltenVK_FRAMEWORK}/ios-arm64/libMoltenVK.a" + "${MoltenVK_FRAMEWORK}/ios-x86_64-simulator/libMoltenVK.a" + ) find_library(CORE_GRAPHICS CoreGraphics) find_library(METAL_LIBRARY Metal) |
