1if(OPENCV_EXTRA_WORLD)
2  set(OPENCV_APPLE_BUNDLE_NAME "OpenCV_contrib")
3  set(OPENCV_APPLE_BUNDLE_ID "org.opencv_contrib")
4else()
5  set(OPENCV_APPLE_BUNDLE_NAME "OpenCV")
6  set(OPENCV_APPLE_BUNDLE_ID "org.opencv")
7endif()
8
9if(IOS)
10  configure_file("${OpenCV_SOURCE_DIR}/platforms/ios/Info.plist.in"
11                 "${CMAKE_BINARY_DIR}/ios/Info.plist")
12elseif(APPLE)
13  configure_file("${OpenCV_SOURCE_DIR}/platforms/osx/Info.plist.in"
14                 "${CMAKE_BINARY_DIR}/osx/Info.plist")
15endif()
16