mirror of https://github.com/bjornbytes/lovr.git
CMake: Suppress giant OpenVR warnings;
This commit is contained in:
parent
9ac34ff190
commit
23c36597fc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue