-if(HAVE_TESH)
-message(STATUS "Found Tesh: ${HAVE_TESH}")
-endif(HAVE_TESH)
-
-if(HAVE_GRAS_STUB)
-message(STATUS "Found gras_stub_generator: ${HAVE_GRAS_STUB}")
-endif(HAVE_GRAS_STUB)
\ No newline at end of file
+if(HAVE_SIMGRID_LIB AND HAVE_GRAS_H)
+else(HAVE_SIMGRID_LIB AND HAVE_GRAS_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