We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b0c1d commit 9d8ae7bCopy full SHA for 9d8ae7b
CMakeLists.txt
@@ -22,6 +22,13 @@ set(BUILD_TOOLS OFF) # VRS tools
22
set(BUILD_SAMPLES OFF) # VRS sample code and sample apps
23
FetchContent_Declare(vrslib URL https://github.com/facebookresearch/vrs/archive/refs/tags/v1.1.0.zip)
24
FetchContent_MakeAvailable(vrslib)
25
+if(NOT MSVC)
26
+# Disable warnings for VRS source files:
27
+ get_target_property(VRS_TYPE vrslib TYPE)
28
+ if(VRS_TYPE STREQUAL "STATIC_LIBRARY")
29
+ target_compile_options(vrslib PRIVATE -w) # Disable all warnings for VRS
30
+ endif()
31
+endif()
32
33
find_package(fmt REQUIRED)
34
0 commit comments