fixed OpenCVConfig.cmake for statically built OpenCV on Mac

pull/13383/head
Vadim Pisarevsky 14 years ago
parent bad7dadb75
commit 5678464f7d
  1. 4
      OpenCVConfig.cmake.in

@ -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()
# ======================================================

Loading…
Cancel
Save