From 26b2e42d0acbf263115530550dc5773fdf4bf57a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 27 Jan 2012 21:43:25 +0100 Subject: [PATCH 1/1] look for msg.h instead of gras.h (cosmetics only: GRAS is soon to be deprecated) --- FindSimGrid.cmake | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/FindSimGrid.cmake b/FindSimGrid.cmake index 547fc47400..f92b12db5d 100644 --- a/FindSimGrid.cmake +++ b/FindSimGrid.cmake @@ -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 -- 2.20.1