From 75f6e6b39e41dd453b4802eb3bae397a3be0d48f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 2 Apr 2020 18:52:22 +0200 Subject: 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. --- build_files/cmake/platform/platform_unix.cmake | 5 ++--- 1 file 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() -- cgit v1.2.3