diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-05-26 18:25:17 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-05-26 18:25:17 +0300 |
commit | 30f3ffce0581668c2d5993c58bb98361d28b8a50 (patch) | |
tree | 7c17686fc6f498b91a9f27f79a086ffa41793e6c /build_files/cmake/platform | |
parent | c53f2079b8d7c1d7f2720adb1758d9d617e255a2 (diff) |
Fix building with ninja on windows
Broken by rB161908157d67ee8bcfa0c26917cccdc40e0c67ea
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_win32.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index f52a1f601dc..3f3b85c08cb 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -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 |