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
7c1d9fea
Commit
7c1d9fea
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14308 from m000:master
parents
59e4f858
ef16e420
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
OpenCVDetectTBB.cmake
cmake/OpenCVDetectTBB.cmake
+4
-2
No files found.
cmake/OpenCVDetectTBB.cmake
View file @
7c1d9fea
...
...
@@ -29,8 +29,10 @@ function(ocv_tbb_cmake_guess _found)
message
(
STATUS
"Found TBB (cmake):
${
_lib
}
"
)
get_target_property
(
_inc TBB::tbb INTERFACE_INCLUDE_DIRECTORIES
)
ocv_tbb_read_version
(
"
${
_inc
}
"
)
add_library
(
tbb INTERFACE
)
target_link_libraries
(
tbb INTERFACE TBB::tbb
)
add_library
(
tbb INTERFACE IMPORTED
)
set_target_properties
(
tbb PROPERTIES
INTERFACE_LINK_LIBRARIES TBB::tbb
)
set
(
${
_found
}
TRUE PARENT_SCOPE
)
endif
()
endfunction
()
...
...
This diff is collapsed.
Click to expand it.
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