Skip to content

Commit 7e3f96e

Browse files
committed
cmake: restore definitions
1 parent 280005c commit 7e3f96e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ IF(BUILD_WITH_HPP_FCL_SUPPORT)
181181
ENDIF(BUILD_PYTHON_INTERFACE)
182182
ENDIF(BUILD_WITH_HPP_FCL_SUPPORT)
183183

184+
# Enforce the preprocessed version of boost::list and boost::vector
185+
# This information is redundant with the content of include/pinocchio/container/boost-container-limits.hpp
186+
# but it avoids any compilation issue.
187+
ADD_DEFINITIONS(-DBOOST_MPL_LIMIT_LIST_SIZE=30)
188+
ADD_DEFINITIONS(-DBOOST_MPL_LIMIT_VECTOR_SIZE=30)
189+
184190
# Path to boost headers
185191
INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
186192

0 commit comments

Comments
 (0)