Bump dissector OpenXR version, fix openxr found check
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user