File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ endif()
212212#find_package(XMLRPC)
213213find_package (ZLIB )
214214find_package (LibXml2 )
215- find_package (Doxygen )
216215#find_package(SWIG)
217216#find_package(TCL)
218217#find_package(LATEX)
Original file line number Diff line number Diff line change 2323# For further information, see <http://www.nexusformat.org>
2424#
2525#=============================================================================
26+ include (FindDoxygen )
2627
27- if (DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND )
28+ if (DOXYGEN_FOUND)
2829
2930 SET (SOURCES Doxyfile_c Doxyfile_cpp Doxyfile_f90 Doxyfile_f77 preamble.h)
3031 set_directory_properties (PROPERTIES
@@ -108,5 +109,7 @@ if (DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
108109 -P "${CMAKE_CURRENT_BINARY_DIR} /cmake_install.cmake" )
109110 add_dependencies (install -html html )
110111
111- endif (DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND )
112+ else ()
113+ message (STATUS "Cannot find doxygen - no API documentation will be built!" )
114+ endif ()
112115
You can’t perform that action at this time.
0 commit comments