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
35af5dac
Commit
35af5dac
authored
Apr 26, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not define CVAPI_EXPORTS when OpenCV is built statically (thanks to Mika Fischer for the patch)
parent
caa943c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
OpenCVModule.cmake
OpenCVModule.cmake
+3
-1
CMakeLists.txt
modules/highgui/CMakeLists.txt
+3
-1
No files found.
OpenCVModule.cmake
View file @
35af5dac
...
...
@@ -2,7 +2,9 @@
macro
(
define_opencv_module name
)
project
(
opencv_
${
name
}
)
add_definitions
(
-DCVAPI_EXPORTS
)
if
(
OPENCV_BUILD_SHARED_LIB
)
add_definitions
(
-DCVAPI_EXPORTS
)
endif
()
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/src"
...
...
modules/highgui/CMakeLists.txt
View file @
35af5dac
...
...
@@ -224,7 +224,9 @@ set(lib_srcs ${highgui_srcs} ${grfmt_srcs})
# ----------------------------------------------------------------------------------
set
(
the_target
"opencv_highgui"
)
add_definitions
(
-DHIGHGUI_EXPORTS -DCVAPI_EXPORTS
)
if
(
OPENCV_BUILD_SHARED_LIB
)
add_definitions
(
-DHIGHGUI_EXPORTS -DCVAPI_EXPORTS
)
endif
()
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../core/include"
...
...
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