Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Since cmake 2.6, else() and endif() don't need to repeat the condition.
[simgrid.git] / buildtools / Cmake / PrintArgs.cmake
index 26e15db..a2dde2f 100644 (file)
@@ -72,7 +72,7 @@ if(enable_print_message)
   message("______________________________________________________________________")
   message("______________________________________________________________________ DEBUG END")
   message("")
-endif(enable_print_message)
+endif()
 
 message("\nConfiguration of package `simgrid' on arch (=${GRAS_THISARCH}):")
 message("        BUILDNAME ...........: ${BUILDNAME}")
@@ -93,7 +93,7 @@ if(NOT APPLE AND NOT WIN32)
   message("        Compile NS-3 ........: ${HAVE_NS3}")
   message("        Gtnets path .........: ${gtnets_path}")
   message("        NS-3 path ...........: ${ns3_path}")
-endif(NOT APPLE AND NOT WIN32)
+endif()
 message("        Compile Lua .........: ${HAVE_LUA}")
 message("        Compile Smpi ........: ${HAVE_SMPI}")
 message("        Compile Smpi f77 ....: ${SMPI_F2C}")