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:
authorBrecht Van Lommel <brecht@blender.org>2020-04-02 19:52:22 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-02 19:54:58 +0300
commit75f6e6b39e41dd453b4802eb3bae397a3be0d48f (patch)
tree30bb2900bf581ff127a352cbd0290feadc1471cd /build_files
parent6eb409bb9cb6333bbc30b12b683a4b739850652d (diff)
Fix link error on Linux buildbot with libxml2
On macOS this is part of the collada folder, but for Linux xml2 is in its own folder for precompiled libraries.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/platform/platform_unix.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index 3f73916daf3..d3444f41e37 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -196,13 +196,12 @@ if(WITH_OPENCOLLADA)
find_package_wrapper(OpenCOLLADA)
if(OPENCOLLADA_FOUND)
if(WITH_STATIC_LIBS)
- # PCRE and XML2 are bundled with OpenCollada.
+ # PCRE is bundled with OpenCollada.
set(PCRE_LIBRARIES pcre)
- set(XML2_LIBRARIES xml2)
else()
- find_package_wrapper(XML2)
find_package_wrapper(PCRE)
endif()
+ find_package_wrapper(XML2)
else()
set(WITH_OPENCOLLADA OFF)
endif()