mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-11 22:49:56 +00:00
CMake: Disable Vulkan, OpenGL and RAIntegration for WoA
Matching MSBuild
This commit is contained in:
@@ -18,10 +18,12 @@ option(POSITION_INDEPENDENT_CODE "Generate position-independent code. It is reco
|
||||
#-------------------------------------------------------------------------------
|
||||
# Graphical option
|
||||
#-------------------------------------------------------------------------------
|
||||
if(NOT APPLE)
|
||||
option(USE_OPENGL "Enable OpenGL GS renderer" ON)
|
||||
if(NOT WIN32 AND ("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ARM64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64"))
|
||||
if(NOT APPLE)
|
||||
option(USE_OPENGL "Enable OpenGL GS renderer" ON)
|
||||
endif()
|
||||
option(USE_VULKAN "Enable Vulkan GS renderer" ON)
|
||||
endif()
|
||||
option(USE_VULKAN "Enable Vulkan GS renderer" ON)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Path and lib option
|
||||
|
||||
@@ -116,7 +116,7 @@ if(ENABLE_QT_UI)
|
||||
find_package(KDDockWidgets-qt6 2.3.0 REQUIRED)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
if(WIN32 AND ARCH_X86)
|
||||
add_subdirectory(3rdparty/rainterface EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -890,7 +890,7 @@ if(APPLE)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
if(WIN32 AND ARCH_X86)
|
||||
# RAIntegration is only supported on Windows.
|
||||
target_compile_definitions(PCSX2_FLAGS INTERFACE ENABLE_RAINTEGRATION)
|
||||
target_link_libraries(PCSX2_FLAGS INTERFACE rainterface)
|
||||
|
||||
Reference in New Issue
Block a user