CMake: Suppress giant OpenVR warnings;
@@ -446,6 +446,9 @@ if(LOVR_ENABLE_HEADSET)
if(LOVR_USE_OPENVR)
add_definitions(-DLOVR_USE_OPENVR)
target_sources(lovr PRIVATE src/modules/headset/openvr.c)
+ if(UNIX)
+ target_compile_options(lovr PRIVATE -Wno-typedef-redefinition)
+ endif()
endif()
if(LOVR_USE_OPENXR)
add_definitions(-DLOVR_USE_OPENXR)
