mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #915 from akva2/fix_build_old_boost
fixed: compilation issues with boost < 1.57
This commit is contained in:
commit
ad97527bbd
@ -88,6 +88,11 @@ else()
|
||||
find_package(Boost 1.44.0 COMPONENTS filesystem date_time system regex REQUIRED)
|
||||
endif()
|
||||
|
||||
# Boost < 1.57 has c++11 name mangling issues in boost::filesystem
|
||||
if(Boost_VERSION VERSION_LESS 105700)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBOOST_NO_CXX11_SCOPED_ENUMS")
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# cotire
|
||||
# Fully automated CMake module for build speedup
|
||||
|
Loading…
Reference in New Issue
Block a user