Skip to content

Commit

Permalink
cmake: Mark IOS and MAC definitions as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-lunarg committed Sep 21, 2023
1 parent ee886cc commit f23f9dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ elseif(ANDROID)
target_compile_definitions(VulkanCompilerConfiguration INTERFACE VK_USE_PLATFORM_ANDROID_KHR)
elseif(APPLE)
target_compile_definitions(VulkanCompilerConfiguration INTERFACE VK_USE_PLATFORM_METAL_EXT)
if (IOS)
target_compile_definitions(VulkanCompilerConfiguration INTERFACE VK_USE_PLATFORM_IOS_MVK)
else()
target_compile_definitions(VulkanCompilerConfiguration INTERFACE VK_USE_PLATFORM_MACOS_MVK)
endif()
# VK_USE_PLATFORM_IOS_MVK and VK_USE_PLATFORM_MACOS_MVK are deprecated.
else()
message(DEBUG "Figure out how to gracefully handle Linux|BSD WSI...")

Expand Down

0 comments on commit f23f9dc

Please sign in to comment.