Private
Public Access
2
0

docs: require specific version of doc tools

Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Nicolas Oliver
2017-09-11 11:37:44 -07:00
committed by Brendan Le Foll
parent 99287f40a1
commit 3f3f657887
3 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ endif ()
if (BUILDDOC)
# add a target to generate API documentation with Doxygen
find_package (Doxygen)
find_package (Doxygen 1.8.11 REQUIRED)
if (DOXYGEN_FOUND)
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
if (BUILDSWIGJAVA)

View File

@@ -109,7 +109,7 @@ add_custom_command (TARGET npmpkg POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy
add_dependencies (npmpkg mraajs)
if (BUILDDOC)
find_package(Yuidoc)
find_package(Yuidoc 0.10.2 REQUIRED)
if (YUIDOC_FOUND)
add_custom_target(jsdoc ALL
COMMAND ${CMAKE_SOURCE_DIR}/doxygen2jsdoc/docgen.js -m mraa -i xml/ -o jsdoc -c ${CMAKE_CURRENT_SOURCE_DIR}/doxygen2jsdoc_custom.json --strict

View File

@@ -1,5 +1,5 @@
if (DOXYGEN_FOUND)
find_package (Sphinx)
find_package (Sphinx 1.3.6 REQUIRED)
if (SPHINX_FOUND)
if (NOT DEFINED SPHINX_THEME)
set (SPHINX_THEME default)