diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-01-24 16:10:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-01-24 17:21:36 +0300 |
commit | cb6f9c2f198eb2a8ec2e85bd112dceae0bda15f2 (patch) | |
tree | 5001699765d1a1a3b0d8a19e6901bc4fc2fdc09d /build_files | |
parent | 2bd62ca7eb2cbfae504a0c4d9120c5c7ed916ce9 (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
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/build_environment/cmake/boost.cmake | 3 |
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} ) |