#
# We require at least version 1.44
#
- FIND_PACKAGE(Boost 1.44 COMPONENTS serialization thread)
+ FIND_PACKAGE(Boost 1.44 COMPONENTS serialization system thread)
- IF(Boost_THREAD_FOUND AND Boost_SERIALIZATION_FOUND)
+ IF(Boost_THREAD_FOUND AND
+ Boost_SERIALIZATION_FOUND AND
+ Boost_SYSTEM_FOUND)
SET(${var} TRUE)
# Get rid of this annoying unimportant variable:
IF (CMAKE_BUILD_TYPE MATCHES "Debug")
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES_DEBUG
- ${Boost_THREAD_LIBRARY_DEBUG} ${Boost_SERIALIZATION_LIBRARY_DEBUG}
+ ${Boost_SERIALIZATION_LIBRARY_DEBUG}
+ ${Boost_SYSTEM_LIBRARY_DEBUG}
+ ${Boost_THREAD_LIBRARY_DEBUG}
)
ENDIF()
IF (CMAKE_BUILD_TYPE MATCHES "Release")
LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES_RELEASE
- ${Boost_THREAD_LIBRARY_RELEASE} ${Boost_SERIALIZATION_LIBRARY_RELEASE}
+ ${Boost_SERIALIZATION_LIBRARY_RELEASE}
+ ${Boost_SYSTEM_LIBRARY_RELEASE}
+ ${Boost_THREAD_LIBRARY_RELEASE}
)
ENDIF()
ENDMACRO()