mirror of
https://github.com/Retropex/dolphin.git
synced 2025-06-02 23:42:32 +02:00
CMake: Build Vulkan backend on macOS
This commit is contained in:
parent
041b977523
commit
c7a2b1572b
@ -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…
Reference in New Issue
Block a user