]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't show Boost_DIR if contrib boost is successfully set up.
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:38:45 +0000 (15:38 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:38:45 +0000 (15:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26850 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_boost.cmake

index 0fdcd05a954cc2ecbda6b49b80e4b5d163cd0fd1..6ed320687d0199f93219c7debc2696e5858380af 100644 (file)
@@ -91,6 +91,11 @@ MACRO(FEATURE_BOOST_CONFIGURE_CONTRIB var)
     ADD_SUBDIRECTORY(${boost_folder}/libs/thread/src)
   ENDIF()
 
+  #
+  # We were able to use contrib boost, so hide some cached variables:
+  #
+  MARK_AS_ADVANCED(Boost_DIR)
+
   SET(${var} TRUE)
 ENDMACRO()
 

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.