Don't fail cmake configure step if openvr deps are not met

This commit is contained in:
WarmUpTill
2026-06-15 21:16:00 +02:00
committed by WarmUpTill
parent 1c856911e8
commit 6215c39024

View File

@@ -26,7 +26,7 @@ if(NOT OpenVR_DIR)
set(OpenVR_DIR ${ADVSS_SOURCE_DIR}/deps/openvr)
endif()
if(EXISTS ${OpenVR_DIR})
if(EXISTS "${OpenVR_DIR}/CMakeLists.txt")
set(SIZEOF_VOIDP ${CMAKE_SIZEOF_VOID_P})
if((NOT APPLE) AND (CMAKE_SIZEOF_VOID_P EQUAL 8))
set(PROCESSOR_ARCH "64")