mirror of https://github.com/vitalif/openscad
Require Boost 1.44, and set BOOST_FILESYSTEM_VERSION=3 on .44 and .45
parent
de4d1e4b85
commit
1cec18d9c0
|
@ -125,7 +125,10 @@ if (NOT $ENV{BOOSTDIR} STREQUAL "")
|
|||
message(STATUS "BOOST_ROOT: " ${BOOST_ROOT})
|
||||
endif()
|
||||
|
||||
find_package( Boost 1.35.0 COMPONENTS thread program_options filesystem system regex REQUIRED)
|
||||
find_package( Boost 1.44.0 COMPONENTS thread program_options filesystem system regex REQUIRED)
|
||||
if ( ${Boost_VERSION} VERSION_LESS "104601" )
|
||||
add_definitions( -DBOOST_FILESYSTEM_VERSION=3 )
|
||||
endif()
|
||||
message(STATUS "Boost includes found: " ${Boost_INCLUDE_DIRS})
|
||||
message(STATUS "Boost libraries found:")
|
||||
foreach(boostlib ${Boost_LIBRARIES})
|
||||
|
|
Loading…
Reference in New Issue