Commit 5678464f authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed OpenCVConfig.cmake for statically built OpenCV on Mac

parent bad7dadb
...@@ -137,6 +137,10 @@ IF (NOT OpenCV_SHARED) ...@@ -137,6 +137,10 @@ IF (NOT OpenCV_SHARED)
# Old CMake: # Old CMake:
set(OpenCV_LIBS ${OpenCV_LIBS} ${OpenCV_EXTRA_COMPONENTS}) set(OpenCV_LIBS ${OpenCV_LIBS} ${OpenCV_EXTRA_COMPONENTS})
endif() endif()
if (APPLE)
set(OpenCV_LIBS ${OpenCV_LIBS} "-lbz2" "-framework Cocoa" "-framework QuartzCore" "-framework QTKit")
endif()
ENDIF() ENDIF()
# ====================================================== # ======================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment