can't build doc on OpenCV 2.3 (Bug #1157)


Added by Yvonnic MM over 13 years ago. Updated over 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:documentation
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

can't build doc on OpenCV 2.3 without checking BUILD_NEW_PYTHON_SUPPORT on CMake,

in root/CMakeLists.txt :

execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sphinx; print sphinx.+version+" 
RESULT_VARIABLE SPHINX_PROCESS
OUTPUT_VARIABLE SPHINX_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
set(HAVE_SPHINX 0)
if(SPHINX_PROCESS EQUAL 0)
find_program(SPHINX_BUILD sphinx-build)
if(SPHINX_BUILD)
set(HAVE_SPHINX 1)
message(STATUS " Found Sphinx ${SPHINX_VERSION}: ${SPHINX_BUILD}")
endif()
endif()

should be outside of

if(BUILD_NEW_PYTHON_SUPPORT)


Associated revisions

Revision 333371dd
Added by Vadim Pisarevsky over 13 years ago

be able to build docs without building python bindings (ticket #1157)

History

Updated by Vadim Pisarevsky over 13 years ago

fixed in r5629

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Yvonnic MM over 13 years ago

thanks !

Also available in: Atom PDF