Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
bbba9ac1
Commit
bbba9ac1
authored
7 years ago
by
Amro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pkg-config generation for mingw
parent
1fbdca83
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+1
-1
No files found.
cmake/OpenCVUtils.cmake
View file @
bbba9ac1
...
...
@@ -1002,7 +1002,7 @@ endfunction()
macro
(
ocv_get_libname var_name
)
get_filename_component
(
__libname
"
${
ARGN
}
"
NAME
)
# libopencv_core.so.3.3 -> opencv_core
string
(
REGEX REPLACE
"^lib(.+)
\\
.(a|so)(
\\
.[.0-9]+)?$"
"
\\
1"
__libname
"
${
__libname
}
"
)
string
(
REGEX REPLACE
"^lib(.+)
\\
.(a|so
|dll
)(
\\
.[.0-9]+)?$"
"
\\
1"
__libname
"
${
__libname
}
"
)
# MacOSX: libopencv_core.3.3.1.dylib -> opencv_core
string
(
REGEX REPLACE
"^lib(.+[^.0-9])
\\
.([.0-9]+
\\
.)?dylib$"
"
\\
1"
__libname
"
${
__libname
}
"
)
set
(
${
var_name
}
"
${
__libname
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment