Commit 8568914c authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #7125 from alalek:cmake_apple_usr_local_lib

parents 46bd49ef fde4e8fe
......@@ -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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment