added backslash

pull/1623/head
Greg Hale 11 years ago
parent 61ccd170bd
commit 0c4d484679
  1. 2
      cmake/OpenCVGenPkgconfig.cmake

@ -59,7 +59,7 @@ set(OpenCV_LIB_COMPONENTS ${OpenCV_LIB_COMPONENTS_})
if(OpenCV_EXTRA_COMPONENTS)
foreach(extra_component ${OpenCV_EXTRA_COMPONENTS})
if(extra_component MATCHES "-[lL](.*)" OR extra_component MATCHES "/")
if(extra_component MATCHES "-[lL](.*)" OR extra_component MATCHES "[\\/]")
set(maybe_l_prefix "")
else()
set(maybe_l_prefix "-l")

Loading…
Cancel
Save