diff -ur licq-1.8.0/CMakeLists.txt licq-1.8.0.new/CMakeLists.txt --- licq-1.8.0/CMakeLists.txt 2013-09-26 22:44:43.842922012 -0500 +++ licq-1.8.0.new/CMakeLists.txt 2013-09-26 22:59:39.365929878 -0500 @@ -12,13 +12,13 @@ # Options option(ENABLE_NLS "Enable translation of program messages" ON) +option(USE_DOXYGEN "Build docs via doxygen" OFF) option(USE_FIFO "Use Licq FIFO" ON) option(USE_HEBREW "Include support for hebrew reverse string" OFF) option(USE_OPENSSL "Enable secure communication channels" ON) option(USE_SOCKS5 "Enable socks5 support" OFF) option(BUILD_PLUGINS "Build all plugins" OFF) option(BUILD_TESTS "Build all unit tests" ON) - set(DLOPEN_POLICY RTLD_NOW CACHE STRING "2nd dlopen parameter") mark_as_advanced(DLOPEN_POLICY) @@ -142,7 +142,7 @@ # Doxygen is option find_package(Doxygen) -if (DOXYGEN_FOUND) +if (USE_DOXYGEN) if (NOT DOXYGEN_DOT_FOUND) message(SEND_ERROR "Need the dot program to build documentation") endif (NOT DOXYGEN_DOT_FOUND) @@ -158,7 +158,7 @@ DEPENDS ${DOXY_CONFIG} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMENT "Generating doxygen documentation" VERBATIM) -endif (DOXYGEN_FOUND) +endif (USE_DOXYGEN) # make uninstall (file added to top binary dir to work with build_all) configure_file(