fixed OpenCVConfig.cmake for statically built OpenCV on Mac

This commit is contained in:
Vadim Pisarevsky 2011-08-10 12:08:58 +00:00
parent bad7dadb75
commit 5678464f7d

View File

@ -137,6 +137,10 @@ IF (NOT OpenCV_SHARED)
# Old CMake:
set(OpenCV_LIBS ${OpenCV_LIBS} ${OpenCV_EXTRA_COMPONENTS})
endif()
if (APPLE)
set(OpenCV_LIBS ${OpenCV_LIBS} "-lbz2" "-framework Cocoa" "-framework QuartzCore" "-framework QTKit")
endif()
ENDIF()
# ======================================================