Skip to content

Commit

Permalink
Fix compilation issue with boost 1.60.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Feb 25, 2016
1 parent 51673f7 commit 2216fdd
Show file tree
Hide file tree
Showing 2 changed files with 1,242 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ if((${Boost_MAJOR_VERSION} EQUAL 1) AND (${Boost_MINOR_VERSION} EQUAL 58))
message( STATUS "Defining BOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" )
add_definitions( "-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT" )
endif()
# patch boost 1.60.0
if((${Boost_MAJOR_VERSION} EQUAL 1) AND (${Boost_MINOR_VERSION} EQUAL 60) AND (${Boost_SUBMINOR_VERSION} EQUAL 0))
include_directories( patches/boost-1.60.0 )
endif()

#-- GMP (facultative) -------------------------------------
find_package( GMP )
Expand Down
Loading

0 comments on commit 2216fdd

Please sign in to comment.