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
17e1bcb0
Commit
17e1bcb0
authored
May 11, 2011
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed pch for non-windows
parent
c49dc377
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
OpenCVModule.cmake
OpenCVModule.cmake
+6
-3
CMakeLists.txt
modules/gpu/CMakeLists.txt
+5
-2
No files found.
OpenCVModule.cmake
View file @
17e1bcb0
...
...
@@ -41,9 +41,12 @@ macro(define_opencv_module name)
set_target_properties
(
${
the_target
}
PROPERTIES FOLDER
"modules"
)
endif
()
if
(
OPENCV_BUILD_SHARED_LIB
)
#add_definitions(-DCVAPI_EXPORTS)
set_target_properties
(
${
the_target
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
if
(
OPENCV_BUILD_SHARED_LIB
)
if
(
MSVC
)
set_target_properties
(
${
the_target
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
else
()
add_definitions
(
-DCVAPI_EXPORTS
)
endif
()
endif
()
# Additional target properties
...
...
modules/gpu/CMakeLists.txt
View file @
17e1bcb0
...
...
@@ -109,8 +109,11 @@ if(SOLUTION_FOLDERS_ENABLED)
endif
()
if
(
OPENCV_BUILD_SHARED_LIB
)
#add_definitions(-DCVAPI_EXPORTS)
set_target_properties
(
${
the_target
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
if
(
MSVC
)
set_target_properties
(
${
the_target
}
PROPERTIES DEFINE_SYMBOL CVAPI_EXPORTS
)
else
()
add_definitions
(
-DCVAPI_EXPORTS
)
endif
()
endif
()
# Additional target properties
...
...
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