summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-24 05:14:05 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-24 05:14:05 +0000
commitd98e6cb036a8bf5b9b5a0ef07a631075c559139f (patch)
treec4b6ebb87642c694106d0e3262ce465abad9a659 /Graphics/GraphicsEngineVulkan
parentCMake: updated paths to MoltenVK libraries on iOS (diff)
downloadDiligentCore-d98e6cb036a8bf5b9b5a0ef07a631075c559139f.tar.gz
DiligentCore-d98e6cb036a8bf5b9b5a0ef07a631075c559139f.zip
CMake: added comment
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
index cab747e8..1701c341 100644
--- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt
+++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
@@ -257,6 +257,8 @@ if(PLATFORM_WIN32)
elseif(PLATFORM_MACOS)
# Use Volk
elseif(PLATFORM_IOS)
+ # For the apparent lack of a better way, link with both arm64 and x64 libraries.
+ # The linker will issue a warning, but this will work for both device and the simulator.
list(APPEND PRIVATE_DEPENDENCIES
"${MoltenVK_FRAMEWORK}/ios-arm64/libMoltenVK.a"
"${MoltenVK_FRAMEWORK}/ios-x86_64-simulator/libMoltenVK.a"