diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-28 18:08:33 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-28 18:08:33 +0000 |
| commit | 9e19e322fc2fb8543107d06570b179e7f91a98d8 (patch) | |
| tree | 08f490264c1df046fe2f34ac97cd7e16f2556ece /Graphics/GraphicsEngineVulkan | |
| parent | Updated release history and fixed links in readme (diff) | |
| download | DiligentCore-9e19e322fc2fb8543107d06570b179e7f91a98d8.tar.gz DiligentCore-9e19e322fc2fb8543107d06570b179e7f91a98d8.zip | |
Vulkan backend on iOS: switched to linking statically with MoltenVk library
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt index 08c732f0..1e2af36a 100644 --- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt +++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt @@ -187,6 +187,8 @@ elseif(PLATFORM_MACOS) find_library(Vulkan_LIBRARY NAMES vulkan.1 vulkan PATHS "../../ThirdParty/vulkan/libs/macOS") elseif(PLATFORM_IOS) set(Vulkan_LIBRARY ${MoltenVK_LIBRARY}) + find_library(CORE_GRAPHICS CoreGraphics) + list(APPEND PRIVATE_DEPENDENCIES ${CORE_GRAPHICS}) elseif(PLATFORM_LINUX) find_library(Vulkan_LIBRARY NAMES vulkan HINTS "$ENV{VULKAN_SDK}/lib" "../../ThirdParty/vulkan/libs/linux") elseif(PLATFORM_ANDROID) |
