Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
look for msg.h instead of gras.h (cosmetics only: GRAS is soon to be deprecated)
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Jan 2012 20:43:25 +0000 (21:43 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 27 Jan 2012 20:43:25 +0000 (21:43 +0100)
FindSimGrid.cmake

index 547fc47..f92b12d 100644 (file)
@@ -8,7 +8,7 @@ find_library(HAVE_SIMGRID_LIB
     PATH_SUFFIXES lib
 )
 
-find_path(HAVE_GRAS_H gras.h
+find_path(HAVE_MSG_H msg.h
     HINTS
        $ENV{SIMGRID_ROOT}
     PATH_SUFFIXES include
@@ -31,14 +31,14 @@ else(HAVE_SIMGRID_LIB)
   message(STATUS "Looking for lib SimGrid - not found")
 endif(HAVE_SIMGRID_LIB)
 
-message(STATUS "Looking for gras.h")
-if(HAVE_GRAS_H)
-message(STATUS "Looking for gras.h - found")
-else(HAVE_GRAS_H)
-message(STATUS "Looking for gras.h - not found")
-endif(HAVE_GRAS_H)
+message(STATUS "Looking for msg.h")
+if(HAVE_MSG_H)
+message(STATUS "Looking for msg.h - found")
+else(HAVE_MSG_H)
+message(STATUS "Looking for msg.h - not found")
+endif(HAVE_MSG_H)
 
-if(HAVE_SIMGRID_LIB AND HAVE_GRAS_H)
-else(HAVE_SIMGRID_LIB AND HAVE_GRAS_H)
+if(HAVE_SIMGRID_LIB AND HAVE_MSG_H)
+else(HAVE_SIMGRID_LIB AND HAVE_MSG_H)
     message(FATAL_ERROR "You need to install simgrid and set environment variable SIMGRID_ROOT!")
-endif(HAVE_SIMGRID_LIB AND HAVE_GRAS_H)
\ No newline at end of file
+endif(HAVE_SIMGRID_LIB AND HAVE_MSG_H)
\ No newline at end of file