summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-28 21:12:41 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-28 21:12:41 +0000
commit11481cf9bf053782386e7da3225610e25104e536 (patch)
tree7136b9ea1c10ec55327c600e444c49dcb917f095 /Graphics/GraphicsEngineVulkan
parentVulkan backend on iOS: switched to linking statically with MoltenVk library (diff)
downloadDiligentCore-11481cf9bf053782386e7da3225610e25104e536.tar.gz
DiligentCore-11481cf9bf053782386e7da3225610e25104e536.zip
Vulkan backend on iOS: added missing dependencies
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
index 1e2af36a..ef839906 100644
--- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt
+++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
@@ -187,8 +187,12 @@ 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})
+ find_library(METAL_LIBRARY Metal)
+ find_library(QUARTZ_CORE QuartzCore)
+ find_library(UI_KIT UIKit)
+ list(APPEND PRIVATE_DEPENDENCIES ${CORE_GRAPHICS} ${METAL_LIBRARY} ${QUARTZ_CORE} ${UI_KIT})
elseif(PLATFORM_LINUX)
find_library(Vulkan_LIBRARY NAMES vulkan HINTS "$ENV{VULKAN_SDK}/lib" "../../ThirdParty/vulkan/libs/linux")
elseif(PLATFORM_ANDROID)