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
85a59ef2
Commit
85a59ef2
authored
Feb 04, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: hide IPPICV symbols using --exclude-libs
parent
17fe6344
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
OpenCVFindLibsPerf.cmake
cmake/OpenCVFindLibsPerf.cmake
+10
-0
No files found.
cmake/OpenCVFindLibsPerf.cmake
View file @
85a59ef2
...
...
@@ -25,6 +25,16 @@ if(WITH_IPP)
elseif
(
ANDROID AND NOT OPENCV_SKIP_ANDROID_IPP_FIX_2
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,-Bsymbolic
${
CMAKE_SHARED_LINKER_FLAGS
}
"
)
endif
()
if
(
OPENCV_FORCE_IPP_EXCLUDE_LIBS
OR
(
HAVE_IPP_ICV
AND UNIX AND NOT ANDROID AND NOT APPLE
AND
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU"
OR CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
)
AND NOT OPENCV_SKIP_IPP_EXCLUDE_LIBS
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a
${
CMAKE_SHARED_LINKER_FLAGS
}
"
)
endif
()
endif
()
endif
()
...
...
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