]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mark some cached variables as advanced
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Sep 2012 23:15:03 +0000 (23:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Sep 2012 23:15:03 +0000 (23:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26695 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_cached_variables.cmake

index b1b27754ec42e5223a28ba0e957e6e7350a2cf64..1a7ab5250153ed04bc38cf8d19e0ae359064945b 100644 (file)
@@ -32,6 +32,7 @@ ENDIF()
 SET(BUILD_SHARED_LIBS "ON" CACHE BOOL
   "Build a shared library"
   )
+MARK_AS_ADVANCED(BUILD_SHARED_LIBS)
 
 
 #
@@ -39,8 +40,9 @@ SET(BUILD_SHARED_LIBS "ON" CACHE BOOL
 # cache so that the user can see the value.
 #
 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH "ON" CACHE BOOL
-  "Set the rpath of the library to the external link pathes on installation
-  ")
+  "Set the rpath of the library to the external link pathes on installation"
+  )
+MARK_AS_ADVANCED(CMAKE_INSTALL_RPATH_USE_LINK_PATH)
 
 
 #
@@ -107,5 +109,9 @@ FOREACH(flag ${deal_ii_used_flags})
   SET(${flag}_SAVED "${${flag}}")
   SET(${flag} "")
 
+  #
+  # Mark these flags as advanced.
+  #
+  MARK_AS_ADVANCED(${flag})
 ENDFOREACH()
 

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.