X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a37684dd40935e1c18856a7f77f8d1a2caeb2875..54d499c29a89a5f913cca4988668e2410918e527:/buildtools/Cmake/Supernovae.cmake?ds=sidebyside diff --git a/buildtools/Cmake/Supernovae.cmake b/buildtools/Cmake/Supernovae.cmake index 8708389447..129f4abbe2 100644 --- a/buildtools/Cmake/Supernovae.cmake +++ b/buildtools/Cmake/Supernovae.cmake @@ -19,7 +19,7 @@ set(gras_fragile_sources ##################################################### ### Rebuild the supernovae source files -if (PERL_EXECUTABLE AND enable_supernovae) # I need supernovae and can use it +if (enable_supernovae) # I need supernovae # supernovae files are generated. I promise set_source_files_properties(${CMAKE_HOME_DIRECTORY}/src/supernovae_sg.c @@ -64,9 +64,4 @@ if (PERL_EXECUTABLE AND enable_supernovae) # I need supernovae and can use it set(SMPI_SRC ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c) -else(PERL_EXECUTABLE AND enable_supernovae) # I need supernovae and can use it - if (enable_supernovae) - message("You need Perl to activate supernovae") - set(enable_supernovae 0) - endif(enable_supernovae) -endif(PERL_EXECUTABLE AND enable_supernovae) # I need supernovae and can use it +endif(enable_supernovae) # I need supernovae