CMake: Disable Vulkan, OpenGL and RAIntegration for WoA

Matching MSBuild
This commit is contained in:
TheLastRar
2026-09-19 13:07:54 -04:00
committed by Ty
parent e69c6bd0f5
commit bc03b94ff0
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -18,10 +18,12 @@ option(POSITION_INDEPENDENT_CODE "Generate position-independent code. It is reco
#-------------------------------------------------------------------------------
# Graphical option
#-------------------------------------------------------------------------------
if(NOT APPLE)
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
+1 -1
View File
@@ -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()
+1 -1
View File
@@ -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)