From 6f22068c42854346ec66da48e8a99d36d84299ff Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sat, 5 Jul 2025 04:24:04 -0500 Subject: [PATCH] Bump dissector OpenXR version, fix openxr found check --- CMakeLists.txt | 4 ++-- tools/wireshark/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07cdb545..27627675 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,9 +239,9 @@ endif() if (WIVRN_BUILD_DISSECTOR) if (WIVRN_USE_SYSTEM_OPENXR STREQUAL "AUTO") - find_package(OpenXR 1.0.34) + find_package(OpenXR 1.1.48) elseif(WIVRN_USE_SYSTEM_OPENXR STREQUAL "ON") - find_package(OpenXR 1.0.34 REQUIRED) + find_package(OpenXR 1.1.48 REQUIRED) endif() find_package(Wireshark REQUIRED) endif() diff --git a/tools/wireshark/CMakeLists.txt b/tools/wireshark/CMakeLists.txt index 3ac7af01..d0912f9a 100644 --- a/tools/wireshark/CMakeLists.txt +++ b/tools/wireshark/CMakeLists.txt @@ -11,7 +11,7 @@ set_target_properties(wivrn-dissector PROPERTIES target_link_libraries(wivrn-dissector PRIVATE epan wivrn-common) set_target_properties(wivrn-dissector PROPERTIES CXX_VISIBILITY_PRESET hidden) -if (OPENXR_FOUND) +if (OpenXR_FOUND) target_link_libraries(wivrn-dissector PRIVATE OpenXR::headers) else() FetchContent_MakeAvailable(openxr_loader)