Browse Source

adapted required Boost version

Former-commit-id: 5d053091c6 [formerly d95625df84]
Former-commit-id: 8735338589
tempestpy_adaptions
dehnert 8 years ago
parent
commit
33d0a2e0d5
  1. 10
      resources/3rdparty/CMakeLists.txt

10
resources/3rdparty/CMakeLists.txt

@ -63,8 +63,14 @@ set(Boost_USE_STATIC_LIBS ${USE_BOOST_STATIC_LIBRARIES})
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost 1.57.0 QUIET REQUIRED COMPONENTS filesystem system)
find_package(Boost 1.61.0 QUIET REQUIRED COMPONENTS filesystem system)
if (NOT Boost_FOUND)
if (Boost_VERSION)
message(FATAL_ERROR "The required Boost version is 1.61.0 or newer, however, only ${Boost_VERSION} was found.")
else ()
message(FATAL_ERROR "Boost was not found.")
endif ()
endif ()
if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL ""))
set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib")
endif ()

Loading…
Cancel
Save