Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 722570
Collapse All | Expand All

(-)a/documentation/CMakeLists.txt (-5 / +4 lines)
Lines 54-63 else() Link Here
54
54
55
endif()
55
endif()
56
56
57
find_package(PythonInterp 2.6)
57
find_package(Python2 COMPONENTS Interpreter)
58
58
59
# ReST - HTML documentation
59
# ReST - HTML documentation
60
if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND)
60
if (DOCUTILS_FOUND AND Python2_Interpreter_FOUND)
61
61
62
    set(HTML_FILES
62
    set(HTML_FILES
63
         search.html
63
         search.html
Lines 198-204 if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND) Link Here
198
            OUTPUT
198
            OUTPUT
199
                "${rstfile}"
199
                "${rstfile}"
200
            COMMAND
200
            COMMAND
201
                "${PYTHON_EXECUTABLE}"
201
                "${Python2_EXECUTABLE}"
202
            ARGS
202
            ARGS
203
                "${CMAKE_CURRENT_SOURCE_DIR}/processTutorials.py"
203
                "${CMAKE_CURRENT_SOURCE_DIR}/processTutorials.py"
204
                "${infile}"
204
                "${infile}"
Lines 291-297 if (DOCUTILS_FOUND AND PYTHONINTERP_FOUND) Link Here
291
    # build search index and insert navigation tab
291
    # build search index and insert navigation tab
292
    add_custom_target(search_index
292
    add_custom_target(search_index
293
        COMMAND
293
        COMMAND
294
            "${PYTHON_EXECUTABLE}"
294
            "${Python2_EXECUTABLE}"
295
            "${CMAKE_CURRENT_SOURCE_DIR}/processHtml.py"
295
            "${CMAKE_CURRENT_SOURCE_DIR}/processHtml.py"
296
            "${CMAKE_CURRENT_BINARY_DIR}"
296
            "${CMAKE_CURRENT_BINARY_DIR}"
297
            "${CMAKE_CURRENT_SOURCE_DIR}/nav_template.txt"
297
            "${CMAKE_CURRENT_SOURCE_DIR}/nav_template.txt"
298
- 

Return to bug 722570