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

Python executable is not used to generate code for iOS builds
pull/10200/head
Alexander Alekhin 7 years ago committed by Alexander Alekhin
parent 5ea50d1e8d
commit 28717d0437
  1. 4
      CMakeLists.txt

@ -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)

Loading…
Cancel
Save