Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cmake: mark some variables as advanced to hide them
[simgrid.git] / tools / cmake / Modules / FindGraphviz.cmake
index 4c5d7ac..57f6771 100644 (file)
@@ -16,7 +16,6 @@ find_library(HAVE_CDT_LIB
   PATH_SUFFIXES lib/graphviz lib
   PATHS         /opt;/opt/local;/opt/csw;/sw;/usr)
 
-
 if(HAVE_CDT_LIB AND HAVE_CGRAPH_LIB AND HAVE_CGRAPH_H)
   string(REGEX REPLACE "/libcgraph.*" "" lib_graphviz ${HAVE_CGRAPH_LIB})
 
@@ -32,6 +31,9 @@ else()
 endif()
 
 mark_as_advanced(HAVE_GRAPHVIZ)
+mark_as_advanced(HAVE_CGRAPH_H)
+mark_as_advanced(HAVE_CGRAPH_LIB)
+mark_as_advanced(HAVE_CDT_LIB)
 unset(HAVE_CGRAPH_H)
 unset(HAVE_CGRAPH_LIB)
 unset(HAVE_CDT_LIB)
@@ -40,5 +42,5 @@ message(STATUS "Looking for graphviz")
 if(HAVE_GRAPHVIZ)
   message(STATUS "Looking for graphviz - found")
 else()
-  message(STATUS "Looking for graphviz - not found")
+  message(STATUS "Looking for graphviz - not found (try installing libgraphviz-dev)")
 endif()