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:
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()