[trunk] Remove CMake-language block-end command arguments

Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block.  This is no longer the preferred style.
Thanks to Hans Johnson
This commit is contained in:
Mickael Savinaud
2012-08-30 17:20:03 +00:00
parent d5bb3b0039
commit 3135642ff5
24 changed files with 438 additions and 438 deletions

View File

@@ -11,7 +11,7 @@ if(DOXYGEN_FOUND)
${CMAKE_BINARY_DIR}/doc/Doxyfile-html.dox @ONLY)
# Configure the html mainpage file of the doxygen documentation with variable
# from CMake and move it
# from CMake and move it
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/mainpage.dox.cmake
${CMAKE_BINARY_DIR}/doc/mainpage.dox @ONLY)
@@ -19,8 +19,8 @@ if(DOXYGEN_FOUND)
add_custom_target(doc ALL
${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/doc/Doxyfile-html.dox)
else(DOXYGEN_FOUND)
else()
message(STATUS "Doxygen not found, we cannot generate the documentation")
endif(DOXYGEN_FOUND)
endif()