mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
cmake: add /usr/local/lib on Apple platform
This commit is contained in:
parent
45a21555c7
commit
fde4e8fed9
@ -384,3 +384,7 @@ if(NOT OPENCV_FP16_DISABLE)
|
||||
set(HAVE_FP16 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(APPLE AND NOT CMAKE_CROSSCOMPILING AND NOT DEFINED ENV{LDFLAGS} AND EXISTS "/usr/local/lib")
|
||||
link_directories("/usr/local/lib")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user