cmake: don't try to detect Python libraries for iOS builds

Python executable is not used to generate code for iOS builds
This commit is contained in:
Alexander Alekhin 2017-11-29 16:25:11 +03:00 committed by Alexander Alekhin
parent 5ea50d1e8d
commit 28717d0437

View File

@ -514,7 +514,9 @@ if(CMAKE_GENERATOR MATCHES "Makefiles|Ninja" AND "${CMAKE_BUILD_TYPE}" STREQUAL
endif()
# --- Python Support ---
include(cmake/OpenCVDetectPython.cmake)
if(NOT IOS)
include(cmake/OpenCVDetectPython.cmake)
endif()
include(cmake/OpenCVCompilerOptions.cmake)