cmake: update installation of python extra submodules

- support Python standalone builds
- loader installs submodules unconditionally
This commit is contained in:
Alexander Alekhin
2021-10-15 16:58:37 +03:00
parent 39c3334147
commit a590682764
6 changed files with 89 additions and 87 deletions
-5
View File
@@ -20,11 +20,6 @@ add_subdirectory(bindings)
add_subdirectory(test)
if(NOT OPENCV_SKIP_PYTHON_LOADER)
include("./python_loader.cmake")
message(STATUS "OpenCV Python: during development append to PYTHONPATH: ${CMAKE_BINARY_DIR}/python_loader")
endif()
if(__disable_python2)
ocv_module_disable_(python2)
endif()