Build separate world-like iOS framework for contrib

This commit is contained in:
Maksim Shabunin
2014-12-05 17:48:28 +03:00
parent 893deb4040
commit c28fea32c7
7 changed files with 54 additions and 16 deletions

View File

@@ -44,13 +44,13 @@ ocv_module_include_directories()
#message(STATUS "${OPENCV_MODULE_${the_module}_SOURCES}")
ocv_create_module(${link_deps})
if(BUILD_opencv_imgcodecs)
if(BUILD_opencv_imgcodecs AND OPENCV_MODULE_opencv_imgcodecs_IS_PART_OF_WORLD)
ocv_imgcodecs_configure_target()
endif()
if(BUILD_opencv_videoio)
if(BUILD_opencv_videoio AND OPENCV_MODULE_opencv_videoio_IS_PART_OF_WORLD)
ocv_videoio_configure_target()
endif()
if(BUILD_opencv_highgui)
if(BUILD_opencv_highgui AND OPENCV_MODULE_opencv_highgui_IS_PART_OF_WORLD)
ocv_highgui_configure_target()
endif()