From 6cd5cd13cef333a9613df7e30629c246c4bb4881 Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Mon, 15 Jun 2026 21:16:00 +0200 Subject: [PATCH] Don't fail cmake configure step if openvr deps are not met --- plugins/openvr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openvr/CMakeLists.txt b/plugins/openvr/CMakeLists.txt index 6da98bbe..bd64014d 100644 --- a/plugins/openvr/CMakeLists.txt +++ b/plugins/openvr/CMakeLists.txt @@ -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")