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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-08-30 11:00:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-30 11:00:23 +0300
commit5c0fb95d040b7f3dc18f228c414dfe97684b947a (patch)
treee4a2808ca55313fac9db0fd8f7a63f8800fee7d2 /build_files
parent1fdde7892d99125e585f3eac92fb67973d5563ea (diff)
Buildbot: Get rid of OpenJPEG 2 hack
Also clarified some options and decisions.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/config/blender_linux.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/build_files/buildbot/config/blender_linux.cmake b/build_files/buildbot/config/blender_linux.cmake
index c3da19451b5..0ff018161e5 100644
--- a/build_files/buildbot/config/blender_linux.cmake
+++ b/build_files/buildbot/config/blender_linux.cmake
@@ -172,12 +172,13 @@ set(PYTHON_VERSION 3.7 CACHE BOOL "" FORCE)
set(Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE)
-# Force using our precompiled openjpeg library.
-#
-# Also, FindOpenJPEG is stupid and is not aware about library called libopenjp2.
+# TODO(sergey): Move up to the rest of WITH_SYSTEM and DYNLOAD configuration,
+# once old chroot is officially retired.
set(WITH_SYSTEM_OPENJPEG ON CACHE BOOL "" FORCE)
-set(OPENJPEG_LIBRARY "${LIBDIR}/openjpeg/lib/libopenjp2.a" CACHE BOOL "" FORCE)
+# We need to link OpenCOLLADA against PCRE library. Even though it is not installed
+# on /usr, we do not really care -- all we care is PCRE_FOUND be TRUE and its
+# library pointing to a valid one.
set(PCRE_INCLUDE_DIR "/usr/include" CACHE STRING "" FORCE)
set(PCRE_LIBRARY "${LIBDIR}/opencollada/lib/libpcre.a" CACHE STRING "" FORCE)