diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-08-21 12:07:13 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-22 09:08:39 +0200 |
commit | a154bd9f223e06b8a1794aabd0d567124140cd3c (patch) | |
tree | 57f54f2bdcfb3243ac50dc7a2277bb2bea48f8b3 /doc | |
parent | e618298bdae53d81ba3bc4e24ff7d65ddc714655 (diff) | |
download | libssh-a154bd9f223e06b8a1794aabd0d567124140cd3c.tar.gz libssh-a154bd9f223e06b8a1794aabd0d567124140cd3c.tar.xz libssh-a154bd9f223e06b8a1794aabd0d567124140cd3c.zip |
cmake: Use FindDoxygen package provided by cmake
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 31242811..079c62b2 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,5 +1,9 @@ # # Build the documentation # -include(UseDoxygen OPTIONAL) +find_package(Doxygen) +if (DOXYGEN_FOUND) + doxygen_add_docs(docs + ${CMAKE_CURRENT_SOURCE_DIR}) +endif() |