The open source OpenXR runtime

ext/catch2: Fix VC2019 build

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2491>

authored by

Jakob Bornecrantz and committed by
Marge Bot
e945b751 a48f4399

+5
+5
src/external/CMakeLists.txt
··· 7 7 target_include_directories( 8 8 xrt-external-catch2 SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/Catch2 9 9 ) 10 + if(MSVC) 11 + # Needed for Visual Studio 2019. 12 + # https://github.com/catchorg/Catch2/issues/2916#issuecomment-2404082203 13 + target_compile_options(xrt-external-catch2 PRIVATE "/Zc:hiddenFriend-") 14 + endif() 10 15 endif() 11 16 12 17 # OpenVR