Better variant of OpenCVConfig.cmake generation; several smaller changes in the options section and Android build scripts
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
if(WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
ocv_module_disable(python)
|
||||
endif()
|
||||
if(NOT PYTHONLIBS_FOUND OR NOT BUILD_NEW_PYTHON_SUPPORT OR NOT PYTHON_USE_NUMPY)
|
||||
if(ANDROID OR IOS OR NOT PYTHONLIBS_FOUND OR NOT PYTHON_USE_NUMPY)
|
||||
ocv_module_disable(python)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user