Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITAConvolution
Commits
0db75d81
Commit
0db75d81
authored
Jan 07, 2022
by
Pascal Palenda
Browse files
Fix and improve link options for tbb
parent
8e67f845
Changes
1
Show whitespace changes
Inline
Side-by-side
external_libs/CMakeLists.txt
View file @
0db75d81
...
...
@@ -53,16 +53,12 @@ if (tbb_ADDED)
# contains spaces, the linker cannot handle this. This we need to add quotes around these manually here so that
# this error does not occur.
get_target_property
(
_tmp tbb LINK_FLAGS
)
set_target_properties
(
tbb PROPERTIES LINK_FLAGS
"
\"
${
_tmp
}
\"
"
)
get_target_property
(
_tmp tbb LINK_DEPENDS
)
set_target_properties
(
tbb PROPERTIES LINK_DEPENDS
"
\"
${
_tmp
}
\"
"
)
set_target_properties
(
tbb PROPERTIES LINK_FLAGS
""
)
target_link_options
(
tbb PRIVATE
${
_tmp
}
)
get_target_property
(
_tmp tbbmalloc LINK_FLAGS
)
set_target_properties
(
tbbmalloc PROPERTIES LINK_FLAGS
"
\"
${
_tmp
}
\"
"
)
get_target_property
(
_tmp tbbmalloc LINK_DEPENDS
)
set_target_properties
(
tbbmalloc PROPERTIES LINK_DEPENDS
"
\"
${
_tmp
}
\"
"
)
set_target_properties
(
tbbmalloc PROPERTIES LINK_FLAGS
""
)
target_link_options
(
tbbmalloc PRIVATE
${
_tmp
}
)
unset
(
_tmp
)
unset
(
_pdb_dir
)
...
...
Write
Preview
Supports
Markdown
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