]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Export Boost_INCLUDE_DIRS to the user as well
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 10 Apr 2013 07:58:05 +0000 (07:58 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 10 Apr 2013 07:58:05 +0000 (07:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@29235 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_boost.cmake

index 67d90ff848eace37cfbdfed4bad291264fb47e24..8e28bf83e58d6b96f179836e8b7be8c970137e92 100644 (file)
@@ -57,6 +57,9 @@ ENDMACRO()
 MACRO(FEATURE_BOOST_CONFIGURE_EXTERNAL)
   INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS})
 
+  # The user has to know the location of the boost headers as well:
+  LIST(APPEND DEAL_II_USER_INCLUDE_DIRS ${Boost_INCLUDE_DIRS})
+
   #
   # Remove "pthread" from Boost_LIBRARIES. Threading, if necessary, is
   # already set up via configure_1_threads.cmake.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.