macOS: Add Vulkan support via MoltenVK (#2650)

* macOS: Add the ability to build with and bundle MoltenVK for Vulkan

support

* macOS: Add cmake variable for RPATH as needed by macports moltenvk lib

* macOS: Change minimum macOS target for vulkan builds

Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
This commit is contained in:
cold-brewed
2022-08-31 14:59:29 -04:00
committed by GitHub
parent eb185a43c2
commit aeee37490a
3 changed files with 36 additions and 2 deletions

View File

@@ -165,6 +165,9 @@ cmake_dependent_option(XL24 "ATI VGA Wonder XL24 (ATI-28800-6)"
# Ditto but for Qt
if(QT)
option(USE_QT6 "Use Qt6 instead of Qt5" OFF)
if(APPLE)
option(MOLTENVK "Use MoltenVK libraries for Vulkan support on macOS. Requires a Vulkan-enabled QT." OFF)
endif()
endif()
# Determine the build type