mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
fixed OpenCVConfig.cmake for statically built OpenCV on Mac
This commit is contained in:
parent
bad7dadb75
commit
5678464f7d
@ -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…
Reference in New Issue
Block a user