From 0c4d4846790f87b89f9f2d70fe920e570b9f8fb4 Mon Sep 17 00:00:00 2001 From: Greg Hale Date: Thu, 17 Oct 2013 14:17:49 -0400 Subject: [PATCH] added backslash --- cmake/OpenCVGenPkgconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake index 1c22b8a9c7..eaa29c3f3d 100644 --- a/cmake/OpenCVGenPkgconfig.cmake +++ b/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")