summaryrefslogtreecommitdiffstats
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2017-10-20 10:48:25 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2017-10-20 19:05:44 (GMT)
commit62e87408cb7094eeac130775e62d5b7a6f4a79c9 (patch)
tree26eeb40c5abaab01ea6abbf87865ec91854ca709 /doc/CMakeLists.txt
parentb54b843accb97105ae4afaf24136e33bfd1ea9d4 (diff)
downloadDoxygen-62e87408cb7094eeac130775e62d5b7a6f4a79c9.zip
Doxygen-62e87408cb7094eeac130775e62d5b7a6f4a79c9.tar.gz
Doxygen-62e87408cb7094eeac130775e62d5b7a6f4a79c9.tar.bz2
CMake: avoid if() around the whole contents of documentation CMakeLists.txt
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 2c1b595..a7a42e9 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -11,8 +11,6 @@
# Documents produced by Doxygen are derivative works derived from the
# input used in their production; they are not affected by this license.
-if (build_doc)
-
include (${TOP}/cmake/version.cmake)
string(TIMESTAMP DATE "%d-%m-%Y")
@@ -181,5 +179,3 @@ install(DIRECTORY
"${PROJECT_BINARY_DIR}/html"
DESTINATION "${CMAKE_INSTALL_PREFIX}/${DOC_INSTALL_DIR}"
)
-
-endif()