Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A pass of dos2unix on that file (and unignore include/smpi/smpif.h as well: it's...
[simgrid.git] / CMakeLists.txt
index 38839a6..afea7e7 100644 (file)
@@ -12,6 +12,10 @@ set(libsmpi_version "${release_version}")
 FIND_PROGRAM(GCOV_PATH gcov)
 FIND_PROGRAM(VALGRIND_PATH valgrind)
 include(FindPerl)
+if(NOT PERL_EXECUTABLE)
+       message(FATAL_ERROR "-- SIMGRID NEED PERL")
+endif(NOT PERL_EXECUTABLE)
+
 
 ### SET THE LIBRARY EXTENSION
 if(APPLE)
@@ -144,9 +148,7 @@ else(WIN32)
 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)