projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4d484
)
fixed wrong regex
author
Greg Hale
<imalsogreg@gmail.com>
Sat, 19 Oct 2013 21:30:32 +0000
(17:30 -0400)
committer
Greg Hale
<imalsogreg@gmail.com>
Sat, 19 Oct 2013 21:30:32 +0000
(17:30 -0400)
cmake/OpenCVGenPkgconfig.cmake
patch
|
blob
|
history
diff --git
a/cmake/OpenCVGenPkgconfig.cmake
b/cmake/OpenCVGenPkgconfig.cmake
index
eaa29c3
..
8b02d5b
100644
(file)
--- 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")