From: Thomas Jarosch Date: Mon, 17 Oct 2011 08:37:05 +0000 (+0200) Subject: Also update else/endif statement X-Git-Tag: v2.6~42 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=a0f1c36152146c47e3e554f91b5bc026b97c28f6;p=libi2ncommon Also update else/endif statement --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ec8d488..1e97c04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,9 +90,9 @@ if(DOCUMENTATION AND DOXYGEN_FOUND) add_custom_target(docs ALL DEPENDS ${CMAKE_BINARY_DIR}/doc/html/index.html) message(STATUS "Generating API documentation with Doxygen") -else(DOXYGEN_FOUND) +else(DOCUMENTATION AND DOXYGEN_FOUND) message(STATUS "Not generating API documentation") -endif(DOXYGEN_FOUND) +endif(DOCUMENTATION AND DOXYGEN_FOUND) # Conditional build itmes option(BUILD_XMLLIB "Build xml part of libi2ncommon - needs patched libxml++" OFF)