detect_ios.cmake 346 B

12345678910111213
  1. if(APPLE AND IOS)
  2. set(HAVE_CAP_IOS TRUE)
  3. set(libs
  4. "-framework Accelerate"
  5. "-framework AVFoundation"
  6. "-framework CoreGraphics"
  7. "-framework CoreImage"
  8. "-framework CoreMedia"
  9. "-framework CoreVideo"
  10. "-framework QuartzCore"
  11. "-framework UIKit")
  12. ocv_add_external_target(cap_ios "" "${libs}" "HAVE_CAP_IOS")
  13. endif()