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
07a4f571
Commit
07a4f571
authored
Sep 14, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5337 from Dikay900:tbb_cmake_visibility
parents
5e2c578b
274b361c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
CMakeLists.txt
3rdparty/tbb/CMakeLists.txt
+7
-1
No files found.
3rdparty/tbb/CMakeLists.txt
View file @
07a4f571
...
...
@@ -212,7 +212,13 @@ else()
endif
()
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations
)
string
(
REPLACE
"-Werror=non-virtual-dtor"
""
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
"
)
# filter out flags that are not handled well by the TBB code
foreach
(
var CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_DEBUG
)
string
(
REPLACE
"-Werror=non-virtual-dtor"
""
${
var
}
"
${${
var
}}
"
)
string
(
REPLACE
"-fvisibility=hidden"
""
${
var
}
"
${${
var
}}
"
)
string
(
REPLACE
"-fvisibility-inlines-hidden"
""
${
var
}
"
${${
var
}}
"
)
endforeach
()
if
(
WIN32
)
set
(
tbb_debug_postfix
"_debug"
)
# to fit pragmas in _windef.h inside TBB
...
...
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