Commit 28717d04 authored by Alexander Alekhin's avatar Alexander Alekhin Committed by Alexander Alekhin

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

Python executable is not used to generate code for iOS builds
parent 5ea50d1e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment