mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
OpenXR - Do not allow OPENXR on ARMv7
This commit is contained in:
parent
cd85b4d5e8
commit
75462180df
@ -121,7 +121,7 @@ include(GNUInstallDirs)
|
||||
|
||||
add_definitions(-DASSETS_DIR="${CMAKE_INSTALL_FULL_DATADIR}/ppsspp/assets/")
|
||||
|
||||
if(OPENXR)
|
||||
if(OPENXR AND NOT ARMV7_DEVICE)
|
||||
add_definitions(-DOPENXR)
|
||||
add_subdirectory(ext/OpenXR-SDK)
|
||||
message("OpenXR enabled")
|
||||
@ -241,7 +241,7 @@ include_directories(ext/glslang)
|
||||
# Anyway, glew will be going away anyway.
|
||||
include_directories(ext/glew)
|
||||
|
||||
if(OPENXR)
|
||||
if(OPENXR AND NOT ARMV7_DEVICE)
|
||||
set(OPENGL_LIBRARIES GLESv3 EGL)
|
||||
elseif(NOT OPENGL_LIBRARIES AND USING_GLES2)
|
||||
set(OPENGL_LIBRARIES GLESv2 EGL)
|
||||
@ -1246,7 +1246,7 @@ set(BASISU_LIBRARIES basis_universal)
|
||||
set(nativeExtra)
|
||||
set(nativeExtraLibs)
|
||||
|
||||
if (OPENXR)
|
||||
if(OPENXR AND NOT ARMV7_DEVICE)
|
||||
set(nativeExtraLibs ${nativeExtraLibs} openxr_loader)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user