提交 f0c14888 编写于 作者: A Alexander Alekhin

fixes #5018: fix framework links in opencv.pc (MacOS)

上级 5cdf0e3e
......@@ -21,6 +21,8 @@ macro(fix_prefix lst isown)
endif()
if(item MATCHES "^-l")
list(APPEND _lst "${item}")
elseif(item MATCHES "^-framework") # MacOS framework (assume single entry "-framework OpenCL")
list(APPEND _lst "${item}")
elseif(item MATCHES "[\\/]")
get_filename_component(libdir "${item}" PATH)
get_filename_component(libname "${item}" NAME_WE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册