Skip to content

Commit d2d889f

Browse files
committed
Try that again
1 parent 9d8ae7b commit d2d889f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ set(BUILD_SAMPLES OFF) # VRS sample code and sample apps
2323
FetchContent_Declare(vrslib URL https://github.com/facebookresearch/vrs/archive/refs/tags/v1.1.0.zip)
2424
FetchContent_MakeAvailable(vrslib)
2525
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()
26+
target_compile_options(vrslib PRIVATE -w) # Disable all warnings for VRS source code
3127
endif()
3228

3329
find_package(fmt REQUIRED)

0 commit comments

Comments
 (0)