diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 22:48:40 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 22:48:40 +0300 |
commit | 89207df7222aebdf3363f00aa009ee16e2417ed9 (patch) | |
tree | eb95e0cf9a56aece54f09a1a739bc90a2b341b50 /build_files | |
parent | 55814cd31ff4f8a76f0bab18928d9a46591269f1 (diff) |
cmake: Fix building with clang on windows.
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/platform/platform_win32.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_win32.cmake b/build_files/cmake/platform/platform_win32.cmake index 3f3b85c08cb..6a83eb17709 100644 --- a/build_files/cmake/platform/platform_win32.cmake +++ b/build_files/cmake/platform/platform_win32.cmake @@ -192,7 +192,7 @@ endif() # Mark libdir as system headers with a lower warn level, to resolve some warnings # that we have very little control over -if(MSVC_VERSION GREATER_EQUAL 1914) +if(MSVC_VERSION GREATER_EQUAL 1914 AND NOT MSVC_CLANG) add_compile_options(/experimental:external /external:templates- /external:I "${LIBDIR}" /external:W0) endif() |