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 / GenerateDocWin.cmake
index 61d1a47..7283e59 100644 (file)
@@ -11,7 +11,7 @@ if(WGET_PATH)
     COMMAND ${WGET_PATH}/wget.exe -r -np -nH -nd http://simgrid.gforge.inria.fr/simgrid/${release_version}/doc/
     WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/html
     )
-endif(WGET_PATH)
+endif()
 
 if(NSIS_PATH)
   ADD_CUSTOM_TARGET(nsis
@@ -20,4 +20,4 @@ if(NSIS_PATH)
     COMMAND ${NSIS_PATH}/makensis.exe simgrid.nsi
     WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/
     )
-endif(NSIS_PATH)
\ No newline at end of file
+endif()
\ No newline at end of file