Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a release date to the previous stable, and document what I know of what were...
[simgrid.git] / FindSimGrid.cmake
index 0ad3753..b874fef 100644 (file)
@@ -5,16 +5,12 @@ find_library(SIMGRID_LIB
     NAME simgrid
     HINTS
        $ENV{SIMGRID_ROOT}
-       /usr/local
-       /usr
     PATH_SUFFIXES lib
 )
 
-find_path(SIMGRID_INCLUDES msg.h
+find_path(SIMGRID_INCLUDES msg/msg.h
     HINTS
        $ENV{SIMGRID_ROOT}
-       /usr/local
-       /usr
     PATH_SUFFIXES include
 )
 
@@ -35,6 +31,8 @@ else(SIMGRID_LIB)
   message(STATUS "Looking for lib SimGrid - not found")
 endif(SIMGRID_LIB)
 
+message(STATUS "Simgrid: ${SIMGRID_LIB}")
+
 message(STATUS "Looking for msg.h")
 if(SIMGRID_INCLUDES)
   message(STATUS "Looking for msg.h - found")