2 parents 74e016a + f781554 commit 1350278Copy full SHA for 1350278
1 file changed
CMake/security_flags_helper_functions.cmake
@@ -23,13 +23,13 @@ macro(disable_third_party_warnings target)
23
get_target_property(target_type ${target} TYPE)
24
25
if (target_type STREQUAL "INTERFACE_LIBRARY")
26
- if (WIN32)
+ if (MSVC)
27
target_compile_options(${target} INTERFACE /W0)
28
else()
29
target_compile_options(${target} INTERFACE -w)
30
endif()
31
32
33
target_compile_options(${target} PRIVATE /W0)
34
35
target_compile_options(${target} PRIVATE -w)
0 commit comments