"BOOST_NO_HASH" "BOOST_NO_SLIST"
)
- INCLUDE_DIRECTORIES(
- ${CMAKE_SOURCE_DIR}/contrib/boost-1.49.0/include
- )
+ SET(boost_folder "${CMAKE_SOURCE_DIR}/contrib/boost-1.49.0")
+
+ INCLUDE_DIRECTORIES(${boost_folder}/include)
- ADD_SUBDIRECTORY(
- ${CMAKE_SOURCE_DIR}/contrib/boost-1.49.0/libs/serialization/src
+ INSTALL(DIRECTORY ${boost_folder}/include
+ DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/contrib
+ COMPONENT library
+ FILES_MATCHING PATTERN "*.h"
+ PATTERN ".svn" EXCLUDE
)
+ ADD_SUBDIRECTORY(${boost_folder}/libs/serialization/src))
+
IF( DEAL_II_USE_MT AND NOT DEAL_II_CAN_USE_CXX11)
#
# If the C++ compiler doesn't completely support the C++11 standard
# we don't have to build BOOST itself only to get at this small part of
# it. it also ensures that we use the correct compiler and flags
#
- ADD_SUBDIRECTORY(
- ${CMAKE_SOURCE_DIR}/contrib/boost-1.49.0/libs/thread/src
- )
+ ADD_SUBDIRECTORY(${boost_folder}/libs/thread/src)
ENDIF()
SET(${var} TRUE)
CONFIGURE_FEATURE(BOOST)
+
LIST(APPEND DEAL_II_INCLUDE_DIRS
"${CMAKE_INSTALL_PREFIX}/${DEAL_II_INCLUDE_RELDIR}"
+ "${CMAKE_INSTALL_PREFIX}/${DEAL_II_INCLUDE_RELDIR}/deal.II"
+ "${CMAKE_INSTALL_PREFIX}/${DEAL_II_INCLUDE_RELDIR}/deal.II/contrib"
)
#