FIND_PROGRAM(GCOV_PATH gcov)
FIND_PROGRAM(VALGRIND_PATH valgrind)
include(FindPerl)
+if(NOT PERL_EXECUTABLE)
+ message(FATAL_ERROR "-- SimGrid cannot be compiled without Perl installed -- sorry. Bailling out.")
+endif(NOT PERL_EXECUTABLE)
+
### SET THE LIBRARY EXTENSION
if(APPLE)
endif(WIN32)
### Build the doc
-if(enable_doc)
- include(${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/GenerateDoc.cmake)
-endif(enable_doc)
+include(${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/GenerateDoc.cmake)
### Make Simgrid.jar and Java examples
if(HAVE_JAVA)