Commit d94e55a90140e4d41a9baff11352272280ea71eb
1 parent
78e08c92
also link against Security framework for iOS to allow use of QtNetwork
Showing
1 changed file
with
1 additions
and
1 deletions
CMakeLists.txt
| ... | ... | @@ -91,7 +91,7 @@ find_package(OpenCV 2.4.5 REQUIRED) |
| 91 | 91 | if(IOS) |
| 92 | 92 | file(GLOB OPENCV_IOS_LIBS "${OpenCV_DIR}/../../lib/*.a") |
| 93 | 93 | list(APPEND BR_THIRDPARTY_LIBS ${OPENCV_IOS_LIBS}) |
| 94 | - list(APPEND BR_THIRDPARTY_LIBS "-framework Foundation -framework UIKit -lc++") | |
| 94 | + list(APPEND BR_THIRDPARTY_LIBS "-framework Foundation -framework UIKit -framework Security -lc++") | |
| 95 | 95 | else() |
| 96 | 96 | set(OPENCV_DEPENDENCIES opencv_core opencv_highgui opencv_imgproc opencv_ml) |
| 97 | 97 | set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${OPENCV_DEPENDENCIES}) | ... | ... |