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:
|
# 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()
|
||||||
|
|
||||||
# ======================================================
|
# ======================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user