From a0f1c36152146c47e3e554f91b5bc026b97c28f6 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 17 Oct 2011 10:37:05 +0200 Subject: [PATCH] Also update else/endif statement --- CMakeLists.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.1