diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e20c3f..b7f2c4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,7 +97,7 @@ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
 
 # check for Doxygen
 FIND_PACKAGE(Doxygen)
-IF(DOXYGEN_FOUND)
+IF( FALSE )
   SET(APIDOC_DIR ${CMAKE_CURRENT_BINARY_DIR}/apidocs)
 
   MAKE_DIRECTORY(${APIDOC_DIR})
@@ -105,7 +105,7 @@ IF(DOXYGEN_FOUND)
   CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/kmymoney.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/kmymoney.doxygen IMMEDIATE)
 
   ADD_CUSTOM_TARGET(apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/kmymoney.doxygen)
-ENDIF(DOXYGEN_FOUND)
+ENDIF( FALSE )
 
 FIND_PACKAGE(GMP REQUIRED)
 SET(LIBALKIMIA_MIN_VERSION 4.3.2)
