MSVC: suppress additional warnings out of external headers
In 161908157d67ee8bcfa0c26917cccdc40e0c67ea we moved all warnings coming out of the library folder to /W0 as many of them do not follow our code-style nor can we force them to. When i made this change, i took `/external:templates-` to mean "and that goes for you too, templates" and it decisively does the opposite leading to /W3 warnings coming out of openvdb This change removes the flag as it should have never have been added in the first place.
This commit is contained in:
parent
39f63c8c08
commit
4cc94679dd
@ -295,7 +295,7 @@ unset(MATERIALX_LIB_FOLDER_EXISTS)
|
||||
if(NOT MSVC_CLANG AND # Available with MSVC 15.7+ but not for CLANG.
|
||||
NOT WITH_WINDOWS_SCCACHE AND # And not when sccache is enabled
|
||||
NOT VS_CLANG_TIDY) # Clang-tidy does not like these options
|
||||
add_compile_options(/experimental:external /external:templates- /external:I "${LIBDIR}" /external:W0)
|
||||
add_compile_options(/experimental:external /external:I "${LIBDIR}" /external:W0)
|
||||
endif()
|
||||
|
||||
# Add each of our libraries to our cmake_prefix_path so find_package() could work
|
||||
|
Loading…
Reference in New Issue
Block a user