Breathe условия
This commit is contained in:
parent
5e668b7e96
commit
3a0bb2b480
@ -10,7 +10,7 @@ if (PYTHONINTERP_FOUND)
|
|||||||
include(FindPythonModule)
|
include(FindPythonModule)
|
||||||
find_python_module(breathe)
|
find_python_module(breathe)
|
||||||
find_python_module(recommonmark)
|
find_python_module(recommonmark)
|
||||||
if(DOXYGEN_FOUND AND PERL_FOUND AND PYTHONINTERP_FOUND AND SPHINX_FOUND AND breathe_FOUND AND recommonmark_FOUND)
|
if(DOXYGEN_FOUND AND PERL_FOUND AND PYTHONINTERP_FOUND AND SPHINX_EXECUTABLE AND breathe AND recommonmark)
|
||||||
set(BREATHE_FOUND ON CACHE STRING "Breathe documentation generator enabled" FORCE)
|
set(BREATHE_FOUND ON CACHE STRING "Breathe documentation generator enabled" FORCE)
|
||||||
else()
|
else()
|
||||||
set(BREATHE_FOUND OFF CACHE STRING "Breathe documentation generator disabled" FORCE)
|
set(BREATHE_FOUND OFF CACHE STRING "Breathe documentation generator disabled" FORCE)
|
||||||
|
Loading…
Reference in New Issue
Block a user