mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
cmake: added pydoc dependency on swig generated targets
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
3872259687
commit
443888825f
@ -73,7 +73,7 @@ if (BUILDDOC)
|
|||||||
endif (DOXYGEN_FOUND)
|
endif (DOXYGEN_FOUND)
|
||||||
# check if Sphinx is installed and add target to generate API documentation
|
# check if Sphinx is installed and add target to generate API documentation
|
||||||
find_package (Sphinx)
|
find_package (Sphinx)
|
||||||
if(SPHINX_FOUND AND BUILDSWIGPYTHON)
|
if(SPHINX_FOUND AND BUILDSWIG AND BUILDSWIGPYTHON)
|
||||||
# python required for Sphinx build
|
# python required for Sphinx build
|
||||||
find_package (PythonLibs)
|
find_package (PythonLibs)
|
||||||
string (REPLACE "." ";" PYTHON_VERSION_LIST ${PYTHONLIBS_VERSION_STRING})
|
string (REPLACE "." ";" PYTHON_VERSION_LIST ${PYTHONLIBS_VERSION_STRING})
|
||||||
|
@ -66,6 +66,7 @@ macro(upm_doxygen)
|
|||||||
add_dependencies (${libname}doc_i doc)
|
add_dependencies (${libname}doc_i doc)
|
||||||
if (BUILDSWIG)
|
if (BUILDSWIG)
|
||||||
add_dependencies (_pyupm_${libname} ${libname}doc_i)
|
add_dependencies (_pyupm_${libname} ${libname}doc_i)
|
||||||
|
add_dependencies (pydoc _pyupm_${libname})
|
||||||
else ()
|
else ()
|
||||||
add_dependencies (${libname} doc)
|
add_dependencies (${libname} doc)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user