diff options
author | Thomas White <taw@physics.org> | 2019-09-13 16:41:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-13 16:50:56 +0200 |
commit | 35ee4fcebf8ed5a1affc71f3db19958c96761e3f (patch) | |
tree | 640500570ac50209daec3df928c66e64eb465041 /CMakeLists.txt | |
parent | 3fe28041e4e51ac5fa45976dbab8ab5cbbe643ee (diff) |
Remove check for gtk-doc
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 87513ea5..9f14776a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,24 +154,6 @@ add_subdirectory(tests) install(DIRECTORY ${CMAKE_SOURCE_DIR}/scripts DESTINATION ${CMAKE_INSTALL_DOCDIR}) -# API docs -option(BUILD_API_DOCS "Build API documentation" OFF) -if (BUILD_API_DOCS) - find_package(GtkDoc 1.25) - if (GTKDOC_FOUND) - configure_file(doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in - docs/xml/gtkdocentities.ent) - configure_file(doc/reference/libcrystfel/CrystFEL-docs.sgml - docs/CrystFEL-docs.sgml COPYONLY) - add_custom_target(documentation ALL VERBATIM COMMAND - ${CMAKE_SOURCE_DIR}/doc/reference/libcrystfel/build-docs) - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/html - DESTINATION ${CMAKE_INSTALL_DOCDIR}) - else (GTKDOC_FOUND) - message(SEND_ERROR "gtk-doc not found") - endif (GTKDOC_FOUND) -endif (BUILD_API_DOCS) - # ---------------------------------------------------------------------- # partial_sim |