summaryrefslogtreecommitdiffstats
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-04-09 15:01:13 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-05-07 09:35:34 +0200
commitbfbf9283d0a8b8320d1ec9574ae3138e0237847a (patch)
tree2aa8ae336a5c95e0203f575bf5520e7a76150d2a /cmake/Modules
parentd75573e665d2208ae87bef86ba2c756f6d056a2c (diff)
cmake: Fix doxygen.
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/UseDoxygen.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/Modules/UseDoxygen.cmake b/cmake/Modules/UseDoxygen.cmake
index 245ba560..72c384d2 100644
--- a/cmake/Modules/UseDoxygen.cmake
+++ b/cmake/Modules/UseDoxygen.cmake
@@ -135,10 +135,6 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN_FOUND)
configure_file("${DOXYFILE_IN}" "${DOXYFILE}" @ONLY)
- get_target_property(DOC_TARGET doc TYPE)
- if(NOT DOC_TARGET)
- add_custom_target(doc)
- endif()
-
+ add_custom_target(doc)
add_dependencies(doc doxygen)
endif()