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>2020-09-18 22:52:06 +0300
committerRay Molenkamp <github@lazydodo.com>2020-09-18 22:52:06 +0300
commit104df2453ad27451dc58e9314900690ebaec6d31 (patch)
treed12ab42db767327eb35adbf785699bf85d028de9 /build_files/build_environment
parent05c57dc563b81d7ec22ceb46cda1422f55c69c95 (diff)
deps: fix build issue on windows.
Windows does not build libxml2 so the dependency recently added for mac caused a cmake error.
Diffstat (limited to 'build_files/build_environment')
-rw-r--r--build_files/build_environment/cmake/clang.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/build_files/build_environment/cmake/clang.cmake b/build_files/build_environment/cmake/clang.cmake
index b402446d873..9de0ec1b182 100644
--- a/build_files/build_environment/cmake/clang.cmake
+++ b/build_files/build_environment/cmake/clang.cmake
@@ -62,6 +62,13 @@ endif()
add_dependencies(
external_clang
- external_xml2
ll
)
+
+# We currently do not build libxml2 on Windows.
+if(NOT WIN32)
+ add_dependencies(
+ external_clang
+ external_xml2
+ )
+endif()