A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Since cmake 2.6, else() and endif() don't need to repeat the condition.
[simgrid.git]
/
buildtools
/
Cmake
/
GenerateUserGuide.cmake
diff --git
a/buildtools/Cmake/GenerateUserGuide.cmake
b/buildtools/Cmake/GenerateUserGuide.cmake
index
72a3861
..
a4f0526
100644
(file)
--- a/
buildtools/Cmake/GenerateUserGuide.cmake
+++ b/
buildtools/Cmake/GenerateUserGuide.cmake
@@
-66,7
+66,7
@@
if(FIG2DEV_PATH)
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/user_guide/doxygen
)
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/user_guide/doxygen
)
-else(
FIG2DEV_PATH
)
+else()
ADD_CUSTOM_TARGET(user_guide
COMMENT "Generating the SimGrid user guide..."
ADD_CUSTOM_TARGET(user_guide
COMMENT "Generating the SimGrid user guide..."
@@
-80,7
+80,7
@@
else(FIG2DEV_PATH)
COMMAND false
)
COMMAND false
)
-endif(
FIG2DEV_PATH
)
+endif()
ADD_CUSTOM_TARGET(user_guide_pdf
COMMAND ${CMAKE_COMMAND} -E echo "XX First pass simgrid_user_guide.pdf"
ADD_CUSTOM_TARGET(user_guide_pdf
COMMAND ${CMAKE_COMMAND} -E echo "XX First pass simgrid_user_guide.pdf"