Merge pull request #5797 from alalek:fix_5018

pull/5806/head
Vadim Pisarevsky 9 years ago
commit 5ac1d8323e
  1. 2
      cmake/OpenCVGenPkgconfig.cmake

@ -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)

Loading…
Cancel
Save