Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[simgrid.git] / buildtools / Cmake / Modules / FindSimGrid.cmake
index 1754f69..7b8a83e 100644 (file)
@@ -7,10 +7,6 @@
        #${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/Modules
        #)
 
-message("GRAS_ROOT     = $ENV{GRAS_ROOT}")
-message("SIMGRID_ROOT  = $ENV{SIMGRID_ROOT}")
-message("LD_LIBRARY_PATH       = $ENV{LD_LIBRARY_PATH}")
-
 find_library(HAVE_SIMGRID_LIB
     NAME simgrid
     HINTS
@@ -67,7 +63,24 @@ find_program(HAVE_GRAS_STUB
        /usr
 )
 
-message("HAVE_SIMGRID_LIB      = ${HAVE_SIMGRID_LIB}")
-message("HAVE_GRAS_H           = ${HAVE_GRAS_H}")
-message("HAVE_TESH             = ${HAVE_TESH}")
-message("HAVE_GRAS_STUB                = ${HAVE_GRAS_STUB}")
\ No newline at end of file
+message("-- Looking for lib SimGrid")
+if(HAVE_SIMGRID_LIB)
+message("-- Looking for lib SimGrid - found")
+else(HAVE_SIMGRID_LIB)
+message("-- Looking for lib SimGrid - not found")
+endif(HAVE_SIMGRID_LIB)
+
+message("-- Looking for gras.h")
+if(HAVE_GRAS_H)
+message("-- Looking for gras.h - found")
+else(HAVE_GRAS_H)
+message("-- Looking for gras.h - not found")
+endif(HAVE_GRAS_H)
+
+if(HAVE_TESH)
+message("-- Found Tesh: ${HAVE_TESH}")
+endif(HAVE_TESH)
+
+if(HAVE_GRAS_STUB)
+message("-- Found gras_stub_generator: ${HAVE_GRAS_STUB}")
+endif(HAVE_GRAS_STUB)
\ No newline at end of file