Replace automatic rdtscp checks with boolean option
[gromacs.git] / python_packaging / sample_restraint / docs / CMakeLists.txt
blob7a58499508310f3eb09dbcdf24ae2dffcde197ea
1 configure_file(Doxyfile.in Doxyfile)
3 find_package(Doxygen)
4 if (DOXYGEN_FOUND)
5     add_custom_target(docs
6                       COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
7                       WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
8                       COMMENT "Generating developer documentation"
9                       VERBATIM )
10 else (DOXYGEN_FOUND)
11     message("Doxygen needs to be installed to generate the C++ documentation")
12 endif (DOXYGEN_FOUND)