Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
eaba0e63
Commit
eaba0e63
authored
Feb 21, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: append '-framework UIKit' for videoio/imgcodecs module
parent
f1c8e042
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
modules/imgcodecs/CMakeLists.txt
+3
-0
CMakeLists.txt
modules/videoio/CMakeLists.txt
+1
-1
No files found.
modules/imgcodecs/CMakeLists.txt
View file @
eaba0e63
...
...
@@ -92,6 +92,9 @@ if(IOS)
list
(
APPEND imgcodecs_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/ios_conversions.mm
)
list
(
APPEND IMGCODECS_LIBRARIES
"-framework Accelerate"
"-framework CoreGraphics"
"-framework QuartzCore"
"-framework AssetsLibrary"
)
endif
()
if
(
APPLE_FRAMEWORK
)
list
(
APPEND IMGCODECS_LIBRARIES
"-framework UIKit"
)
endif
()
if
(
UNIX
)
#these variables are set by CHECK_MODULE macro
...
...
modules/videoio/CMakeLists.txt
View file @
eaba0e63
...
...
@@ -210,7 +210,7 @@ if(IOS)
${
CMAKE_CURRENT_LIST_DIR
}
/src/cap_ios_video_camera.mm
)
list
(
APPEND VIDEOIO_LIBRARIES
"-framework Accelerate"
"-framework AVFoundation"
"-framework CoreGraphics"
"-framework CoreImage"
"-framework CoreMedia"
"-framework CoreVideo"
"-framework QuartzCore"
"-framework AssetsLibrary"
)
if
(
APPLE_FRAMEWORK
AND BUILD_SHARED_LIBS
)
if
(
APPLE_FRAMEWORK
)
list
(
APPEND VIDEOIO_LIBRARIES
"-framework UIKit"
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment