From cb6f9c2f198eb2a8ec2e85bd112dceae0bda15f2 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 24 Jan 2020 14:10:01 +0100 Subject: 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 --- build_files/build_environment/cmake/boost.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build_files/build_environment') 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} ) -- cgit v1.2.3