Do not use bundled applications from the source of OpenColorIO. --- OpenColorIO-1.0.9/docs/CMakeLists.txt.orig 2016-09-15 09:40:03.932004575 +0000 +++ OpenColorIO-1.0.9/docs/CMakeLists.txt 2016-09-15 09:41:04.420845978 +0000 @@ -1,67 +1,3 @@ - -############################################################################### -### External Doc Apps ### - -# setuptools -# https://pypi.python.org/pypi/setuptools -set(SETUPTOOLS_VERSION 1.1.6) -ExternalProject_Add(setuptools - URL ${CMAKE_SOURCE_DIR}/ext/setuptools-${SETUPTOOLS_VERSION}.tar.gz - BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E make_directory ${EXTDIST_PYTHONPATH} - BUILD_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py build - INSTALL_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py install --prefix=${EXTDIST_ROOT} -) - -# docutils -# https://pypi.python.org/pypi/docutils -set(DOCUTILS_VERSION 0.11) -ExternalProject_Add(docutils - DEPENDS setuptools - URL ${CMAKE_SOURCE_DIR}/ext/docutils-${DOCUTILS_VERSION}.tar.gz - BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E make_directory ${EXTDIST_PYTHONPATH} - BUILD_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py build - INSTALL_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py install --prefix=${EXTDIST_ROOT} -) - -# jinja2 -# https://pypi.python.org/pypi/Jinja2 -set(JINJA2_VERSION 2.7.1) -ExternalProject_Add(Jinja2 - DEPENDS setuptools - URL ${CMAKE_SOURCE_DIR}/ext/Jinja2-${JINJA2_VERSION}.tar.gz - BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E make_directory ${EXTDIST_PYTHONPATH} - BUILD_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py build - INSTALL_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py install --prefix=${EXTDIST_ROOT} -) - -# Pygments -# https://pypi.python.org/pypi/Pygments -set(PYGMENTS_VERSION 1.6) -ExternalProject_Add(Pygments - DEPENDS setuptools - URL ${CMAKE_SOURCE_DIR}/ext/Pygments-${PYGMENTS_VERSION}.tar.gz - BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E make_directory ${EXTDIST_PYTHONPATH} - BUILD_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py build - INSTALL_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py install --prefix=${EXTDIST_ROOT} -) - -# sphinx -# https://pypi.python.org/pypi/Sphinx -set(SPHINX_VERSION 1.2b3) -ExternalProject_Add(Sphinx - DEPENDS setuptools docutils Jinja2 Pygments - URL ${CMAKE_SOURCE_DIR}/ext/Sphinx-${SPHINX_VERSION}.tar.gz - PATCH_COMMAND patch -p1 < ${CMAKE_SOURCE_DIR}/ext/Sphinx-${SPHINX_VERSION}.patch - BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND ${CMAKE_COMMAND} -E make_directory ${EXTDIST_PYTHONPATH} - BUILD_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py build - INSTALL_COMMAND PYTHONPATH=${PYTHONPATH} ${PYTHON} setup.py install --prefix=${EXTDIST_ROOT} --install-scripts=${EXTDIST_ROOT}/bin -) - ############################################################################### ### Create Doc Targets ###