diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 17:20:03 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-30 17:20:03 +0000 |
| commit | 3135642ff5c747d674b1a5347f4a3dd6352b6c75 (patch) | |
| tree | a434de1167f2ed257556fc150bb49eb404c1b6fa /doc | |
| parent | d5bb3b0039159a61c7e9b2ae157a7b6ec2c0aef5 (diff) | |
[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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | doc/mainpage.dox.cmake | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 48f28813..7c86093a 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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() diff --git a/doc/mainpage.dox.cmake b/doc/mainpage.dox.cmake index 7aab188f..732f7540 100644 --- a/doc/mainpage.dox.cmake +++ b/doc/mainpage.dox.cmake @@ -26,30 +26,30 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ - + /*! \mainpage OpenJPEG v@OPENJPEG_VERSION@ Documentation * * \section intro Introduction * This manual documents the low-level OpenJPEG C API.\n * The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000.\n -* This documents is focused on the main part of the library which try to implement Part 1 and Part 2 of the JPEG2000 norm.\n +* This documents is focused on the main part of the library which try to implement Part 1 and Part 2 of the JPEG2000 norm.\n * * \section home Home page * * The Home Page of the OpenJPEG library can be found at: * * http://code.google.com/p/openjpeg/ -* +* * More information about the OpenJPEG library is available here: * * http://www.openjpeg.org/ -* +* * The OpenJPEG mailing list is located here: -* +* * http://groups.google.com/group/openjpeg -* +* * All the source code is online and can be retrieved using svn from here: -* +* * http://openjpeg.googlecode.com/svn/ * * \section license License @@ -59,4 +59,4 @@ * * \author OpenJPEG Team * -*/
\ No newline at end of file +*/ |
