1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

python: 'sub-module' for binding sources and documentation meta information

This commit is contained in:
Alexander Alekhin
2017-12-09 18:54:52 +00:00
parent b15bc194ef
commit 768f4cb7bc
7 changed files with 118 additions and 105 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ macro(ocv_add_dependencies full_modname)
list(FIND OPENCV_MODULE_${full_modname}_WRAPPERS "python" __python_idx)
if (NOT __python_idx EQUAL -1)
list(REMOVE_ITEM OPENCV_MODULE_${full_modname}_WRAPPERS "python")
list(APPEND OPENCV_MODULE_${full_modname}_WRAPPERS "python2" "python3")
list(APPEND OPENCV_MODULE_${full_modname}_WRAPPERS "python_bindings_generator" "python2" "python3")
endif()
unset(__python_idx)