Browse Source

Move Doxygen test to main CMake scope

Fixes https://gitlab.com/kicad/code/kicad/issues/4468
pull/16/head
Ian McInerney 5 years ago
parent
commit
d72a778f19
  1. 2
      CMakeLists.txt
  2. 2
      Documentation/CMakeLists.txt
  3. 1
      Documentation/docset/CMakeLists.txt

2
CMakeLists.txt

@ -837,6 +837,8 @@ endif()
#================================================
# Add the documentation
#================================================
find_package( Doxygen )
add_subdirectory( Documentation )
# Generate config.h.

2
Documentation/CMakeLists.txt

@ -21,8 +21,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
find_package( Doxygen )
if( DOXYGEN_FOUND )
add_custom_target( doxygen-docs
${CMAKE_COMMAND} -E remove_directory Documentation/doxygen

1
Documentation/docset/CMakeLists.txt

@ -66,6 +66,7 @@ if(DOXYGEN_FOUND AND DOXYTAG2ZEALDB AND SED)
-P ${CMAKE_MODULE_PATH}/CreateDocsetDoxyfile.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
OUTPUT ${DOCSET_DOXYFILE}
DEPENDS ${CMAKE_BINARY_DIR}/kicad_build_version.h
COMMENT "Modifying doxyfile for docset creation"
)

Loading…
Cancel
Save