Поиск Python
This commit is contained in:
parent
2980180da0
commit
f0d887e488
@ -6,13 +6,15 @@ if(BUILD_BREATHE_DOC STREQUAL AUTO)
|
||||
find_package(Perl)
|
||||
set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4 3.3 3.2)
|
||||
find_package(PythonInterp)
|
||||
if (PYTHONINTERP_FOUND)
|
||||
find_package(Sphinx)
|
||||
include(FindPythonModule)
|
||||
find_python_module(breathe)
|
||||
find_python_module(recommonmark)
|
||||
if(DOXYGEN_FOUND AND PERL_FOUND AND SPHINX_FOUND AND breathe AND recommonmark)
|
||||
if(DOXYGEN_FOUND AND PERL_FOUND AND PYTHONINTERP_FOUND AND SPHINX_FOUND AND breathe AND recommonmark)
|
||||
set(BUILD_BREATHE_DOC ON CACHE STRING "Enable documntation in Breathe format" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
elseif(BUILD_BREATHE_DOC)
|
||||
find_package(Doxygen REQUIRED)
|
||||
find_package(Perl REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user