diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a1078c..9f7f28e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/src/javascript/CMakeLists.txt b/src/javascript/CMakeLists.txt index ac63605..6fb8dbc 100644 --- a/src/javascript/CMakeLists.txt +++ b/src/javascript/CMakeLists.txt @@ -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 diff --git a/src/python/python2/docs/CMakeLists.txt b/src/python/python2/docs/CMakeLists.txt index 3079b22..cd9d659 100644 --- a/src/python/python2/docs/CMakeLists.txt +++ b/src/python/python2/docs/CMakeLists.txt @@ -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)