From 05c6a5e5d78f767215cb21c1d6b57dd7b0a9acd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Sun, 7 Jul 2024 15:55:20 +0200 Subject: [PATCH] OpenXr: Enable C++20 for OpenXR plugin. Enabling it globally causes issue with WebRTC. Co-authored-by: Lubosz Sarnecki --- plugins/openxr/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/openxr/CMakeLists.txt b/plugins/openxr/CMakeLists.txt index 2e7eb9f821..9316a77f63 100644 --- a/plugins/openxr/CMakeLists.txt +++ b/plugins/openxr/CMakeLists.txt @@ -23,3 +23,5 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") # Silence GCC warnings target_compile_options(openxr PRIVATE -Wno-missing-field-initializers) endif() + +set_property(TARGET openxr PROPERTY CXX_STANDARD 20) \ No newline at end of file