From d0f883524e70b9c93e509c2fcde964d4bf296652 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 23 Dec 2016 10:30:17 +0200 Subject: [PATCH] cmake(osx): fix CoreImage error (#7916) --- modules/imgcodecs/CMakeLists.txt | 2 +- modules/videoio/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgcodecs/CMakeLists.txt b/modules/imgcodecs/CMakeLists.txt index 5c709afaef..78006403d8 100644 --- a/modules/imgcodecs/CMakeLists.txt +++ b/modules/imgcodecs/CMakeLists.txt @@ -90,7 +90,7 @@ file(GLOB imgcodecs_ext_hdrs if(IOS) list(APPEND imgcodecs_srcs ${CMAKE_CURRENT_LIST_DIR}/src/ios_conversions.mm) - list(APPEND IMGCODECS_LIBRARIES "-framework Accelerate" "-framework CoreGraphics" "-framework CoreImage" "-framework QuartzCore" "-framework AssetsLibrary") + list(APPEND IMGCODECS_LIBRARIES "-framework Accelerate" "-framework CoreGraphics" "-framework QuartzCore" "-framework AssetsLibrary") endif() if(UNIX) diff --git a/modules/videoio/CMakeLists.txt b/modules/videoio/CMakeLists.txt index d079634b9c..fb64894899 100644 --- a/modules/videoio/CMakeLists.txt +++ b/modules/videoio/CMakeLists.txt @@ -181,7 +181,7 @@ if(HAVE_AVFOUNDATION) list(APPEND VIDEOIO_LIBRARIES "-framework AVFoundation" "-framework QuartzCore") else() list(APPEND videoio_srcs ${CMAKE_CURRENT_LIST_DIR}/src/cap_avfoundation_mac.mm) - list(APPEND VIDEOIO_LIBRARIES "-framework Cocoa" "-framework Accelerate" "-framework AVFoundation" "-framework CoreGraphics" "-framework CoreImage" "-framework CoreMedia" "-framework CoreVideo" "-framework QuartzCore") + list(APPEND VIDEOIO_LIBRARIES "-framework Cocoa" "-framework Accelerate" "-framework AVFoundation" "-framework CoreGraphics" "-framework CoreMedia" "-framework CoreVideo" "-framework QuartzCore") endif() endif()