Permalink
Browse files

CMake: Build Vulkan backend on macOS

  • Loading branch information...
stenzek committed May 31, 2018
1 parent 041b977 commit c7a2b1572bba57d78bea78455f9cd1ab95cd36db
Showing with 2 additions and 7 deletions.
  1. +1 −4 Source/Core/Core/CMakeLists.txt
  2. +1 −3 Source/Core/VideoBackends/CMakeLists.txt
@@ -293,6 +293,7 @@ PUBLIC
videonull
videoogl
videosoftware
videovulkan

PRIVATE
${LZO}
@@ -322,10 +323,6 @@ if(LIBUSB_FOUND)
)
endif()

if(NOT APPLE)
target_link_libraries(core PUBLIC videovulkan)
endif()

if(WIN32)
target_sources(core PRIVATE
HW/EXI/BBA-TAP/TAP_Win32.cpp
@@ -1,11 +1,9 @@
add_subdirectory(OGL)
add_subdirectory(Null)
add_subdirectory(Software)
add_subdirectory(Vulkan)

if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_subdirectory(D3D)
endif()

if(NOT APPLE)
add_subdirectory(Vulkan)
endif()

0 comments on commit c7a2b15

Please sign in to comment.