From: maier Date: Fri, 28 Sep 2012 15:38:45 +0000 (+0000) Subject: Don't show Boost_DIR if contrib boost is successfully set up. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e1ca4ccdabce5230a323d0595f803dcba749d59;p=dealii-svn.git Don't show Boost_DIR if contrib boost is successfully set up. git-svn-id: https://svn.dealii.org/branches/branch_cmake@26850 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/configure/configure_boost.cmake b/deal.II/cmake/configure/configure_boost.cmake index 0fdcd05a95..6ed320687d 100644 --- a/deal.II/cmake/configure/configure_boost.cmake +++ b/deal.II/cmake/configure/configure_boost.cmake @@ -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()