Fix building with ninja on windows

Broken by rB161908157d67ee8bcfa0c26917cccdc40e0c67ea
This commit is contained in:
Ray molenkamp 2019-05-26 09:25:17 -06:00
parent c53f2079b8
commit 30f3ffce05
1 changed files with 2 additions and 2 deletions

View File

@ -191,9 +191,9 @@ if(NOT EXISTS "${LIBDIR}/")
endif()
# Mark libdir as system headers with a lower warn level, to resolve some warnings
# that we have very little control over
# that we have very little control over
if(MSVC_VERSION GREATER_EQUAL 1914)
add_definitions(/experimental:external /external:templates- /external:I "${LIBDIR}" /external:W0)
add_compile_options(/experimental:external /external:templates- /external:I "${LIBDIR}" /external:W0)
endif()
# Add each of our libraries to our cmake_prefix_path so find_package() could work