Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-05-27 22:48:40 +0300
committerRay Molenkamp <github@lazydodo.com>2019-05-27 22:48:40 +0300
commit89207df7222aebdf3363f00aa009ee16e2417ed9 (patch)
treeeb95e0cf9a56aece54f09a1a739bc90a2b341b50 /build_files/cmake
parent55814cd31ff4f8a76f0bab18928d9a46591269f1 (diff)
cmake: Fix building with clang on windows.
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/platform/platform_win32.cmake2
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()