mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 14:58:03 +03:00
CMake: Build Vulkan backend on macOS
This commit is contained in:
parent
041b977523
commit
c7a2b1572b
2 changed files with 2 additions and 7 deletions
|
@ -293,6 +293,7 @@ PUBLIC
|
||||||
videonull
|
videonull
|
||||||
videoogl
|
videoogl
|
||||||
videosoftware
|
videosoftware
|
||||||
|
videovulkan
|
||||||
|
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${LZO}
|
${LZO}
|
||||||
|
@ -322,10 +323,6 @@ if(LIBUSB_FOUND)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT APPLE)
|
|
||||||
target_link_libraries(core PUBLIC videovulkan)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_sources(core PRIVATE
|
target_sources(core PRIVATE
|
||||||
HW/EXI/BBA-TAP/TAP_Win32.cpp
|
HW/EXI/BBA-TAP/TAP_Win32.cpp
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
add_subdirectory(OGL)
|
add_subdirectory(OGL)
|
||||||
add_subdirectory(Null)
|
add_subdirectory(Null)
|
||||||
add_subdirectory(Software)
|
add_subdirectory(Software)
|
||||||
|
add_subdirectory(Vulkan)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
add_subdirectory(D3D)
|
add_subdirectory(D3D)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT APPLE)
|
|
||||||
add_subdirectory(Vulkan)
|
|
||||||
endif()
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue