mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
435 B
17 lines
435 B
6 years ago
|
if(APPLE)
|
||
|
set(HAVE_AVFOUNDATION TRUE)
|
||
|
if(IOS)
|
||
|
set(libs "-framework AVFoundation" "-framework QuartzCore")
|
||
|
else()
|
||
|
set(libs
|
||
|
"-framework Cocoa"
|
||
|
"-framework Accelerate"
|
||
|
"-framework AVFoundation"
|
||
|
"-framework CoreGraphics"
|
||
|
"-framework CoreMedia"
|
||
|
"-framework CoreVideo"
|
||
|
"-framework QuartzCore")
|
||
|
endif()
|
||
|
ocv_add_external_target(avfoundation "" "${libs}" "HAVE_AVFOUNDATION")
|
||
|
endif()
|