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>2020-01-24 16:10:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-01-24 17:21:36 +0300
commitcb6f9c2f198eb2a8ec2e85bd112dceae0bda15f2 (patch)
tree5001699765d1a1a3b0d8a19e6901bc4fc2fdc09d
parent2bd62ca7eb2cbfae504a0c4d9120c5c7ed916ce9 (diff)
Make deps: Force some boost dependencies
Boost could have picked up system-wide libbz2-dev installed and enable this compression in iostreams. Nothing really wrong with this, but it makes it so final Blender binary depends on bz2, which breaks default linker flags. This commit makes it so Boost is not using libraries which we don't need, simplifying linking setup. Differential Revision: https://developer.blender.org/D6668
-rw-r--r--build_files/build_environment/cmake/boost.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/boost.cmake b/build_files/build_environment/cmake/boost.cmake
index c11e14f879b..9a4e6d25c23 100644
--- a/build_files/build_environment/cmake/boost.cmake
+++ b/build_files/build_environment/cmake/boost.cmake
@@ -72,6 +72,9 @@ set(BOOST_OPTIONS
--with-serialization
--with-program_options
--with-iostreams
+ -sNO_BZIP2=1
+ -sNO_LZMA=1
+ -sNO_ZSTD=1
${BOOST_TOOLSET}
)