CMakeLists.txt 517 B

12345678910111213141516171819
  1. if(OPENCV_INITIAL_PASS)
  2. # generator for Objective-C source code and documentation signatures
  3. add_subdirectory(generator)
  4. endif()
  5. if(NOT APPLE_FRAMEWORK)
  6. return()
  7. endif()
  8. set(the_description "The Objective-C bindings")
  9. ocv_add_module(objc BINDINGS opencv_core opencv_imgproc PRIVATE_REQUIRED opencv_objc_bindings_generator)
  10. add_custom_target(${the_module}
  11. ALL
  12. COMMENT "Objective-C framework"
  13. )
  14. add_dependencies(${the_module} gen_opencv_objc_source)
  15. #include(${CMAKE_CURRENT_SOURCE_DIR}/common.cmake)