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
52b4536d
Commit
52b4536d
authored
Mar 11, 2012
by
Andrey Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed module name for mingw compiler under Windows
parent
f6fec7ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
OpenCVGenConfig.cmake
cmake/OpenCVGenConfig.cmake
+8
-1
No files found.
cmake/OpenCVGenConfig.cmake
View file @
52b4536d
...
...
@@ -29,6 +29,13 @@ else()
set
(
OpenCV_ADD_DEBUG_RELEASE_CONFIGCMAKE FALSE
)
endif
()
if
(
WIN32
)
if
(
MINGW
)
set
(
OPENCV_LINK_LIBRARY_SUFFIX
".dll.a"
)
else
()
set
(
OPENCV_LINK_LIBRARY_SUFFIX
".lib"
)
endif
()
endif
()
#build list of modules available for the OpenCV user
set
(
OpenCV_LIB_COMPONENTS
""
)
...
...
@@ -52,7 +59,7 @@ macro(ocv_generate_dependencies_map_configcmake suffix configuration)
get_filename_component
(
__libname
"
${
__libname
}
"
NAME
)
if
(
WIN32
)
string
(
REGEX REPLACE
"
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
$"
"
${
CMAKE
_LINK_LIBRARY_SUFFIX
}
"
__libname
"
${
__libname
}
"
)
string
(
REGEX REPLACE
"
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
$"
"
${
OPENCV
_LINK_LIBRARY_SUFFIX
}
"
__libname
"
${
__libname
}
"
)
endif
()
set
(
OPENCV_DEPENDENCIES_MAP_
${
suffix
}
"
${
OPENCV_DEPENDENCIES_MAP_
${
suffix
}}
set(OpenCV_
${
__ocv_lib
}
_LIBNAME_
${
suffix
}
\"
${
__libname
}
\"
)
\n
"
)
...
...
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