Fix boost::any bug with Boost 1.54.
and set BOOST_MIN_VERSION to 1.48. Fixes: - http://freecadweb.org/tracker/view.php?id=0002505 - http://forum.freecadweb.org/viewtopic.php?f=13&t=15310 - http://forum.freecadweb.org/viewtopic.php?f=3&t=15400 - http://forum.freecadweb.org/viewtopic.php?f=10&t=14108
This commit is contained in:
committed by
wmayer
parent
5edeb99828
commit
1e061b5c02
@@ -4,6 +4,8 @@ else(MSVC)
|
||||
add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
|
||||
endif(MSVC)
|
||||
|
||||
add_definitions(-DBOOST_${Boost_VERSION})
|
||||
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_BINARY_DIR}/src
|
||||
|
||||
@@ -32,7 +32,11 @@
|
||||
#include <boost/mpl/size.hpp>
|
||||
#include <boost/mpl/for_each.hpp>
|
||||
|
||||
#ifndef BOOST_105400
|
||||
#include <boost/any.hpp>
|
||||
#else
|
||||
#include <boost_any_1_55.hpp>
|
||||
#endif
|
||||
#include <boost/fusion/include/as_vector.hpp>
|
||||
|
||||
#include <boost/preprocessor.hpp>
|
||||
|
||||
Reference in New Issue
Block a user