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
43485a21
Commit
43485a21
authored
Sep 23, 2013
by
Alexander Smorkalov
Committed by
OpenCV Buildbot
Sep 23, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1487 from alalek:fix_add_definitions
parents
02247de3
286244ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+1
-5
No files found.
cmake/OpenCVModule.cmake
View file @
43485a21
...
...
@@ -519,11 +519,7 @@ macro(ocv_create_module)
if
((
NOT DEFINED OPENCV_MODULE_TYPE AND BUILD_SHARED_LIBS
)
OR
(
DEFINED OPENCV_MODULE_TYPE AND OPENCV_MODULE_TYPE STREQUAL SHARED
))
if
(
MSVC
)
set_target_properties
(
${
the_module
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
else
()
add_definitions
(
-DCVAPI_EXPORTS
)
endif
()
set_target_properties
(
${
the_module
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
endif
()
if
(
MSVC
)
...
...
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