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-29 15:11:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-29 15:11:32 +0300
commit66f8a4c07e8a5fc166579101933264b8425a7cd1 (patch)
tree3419580d934cd0cd8ac7252b41b58cd1ad647723 /build_files
parent9fd0060c0f3458e53b38003d1388f16cb56f45d8 (diff)
Build environment: Fix compilation of boost on Linux 32bit
Diffstat (limited to 'build_files')
-rw-r--r--build_files/build_environment/cmake/boost.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/boost.cmake b/build_files/build_environment/cmake/boost.cmake
index 959a6e22637..33bfa1d4e82 100644
--- a/build_files/build_environment/cmake/boost.cmake
+++ b/build_files/build_environment/cmake/boost.cmake
@@ -63,6 +63,11 @@ else()
set(BOOST_BUILD_COMMAND ./b2)
set(BOOST_BUILD_OPTIONS cxxflags=${PLATFORM_CXXFLAGS} --disable-icu boost.locale.icu=off)
set(BOOST_PATCH_COMMAND echo .)
+ if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
+ set(BOOST_ADDRESS_MODEL 64)
+ else()
+ set(BOOST_ADDRESS_MODEL 32)
+ endif()
endif()
set(BOOST_OPTIONS