[tbb] Fix config path (#6100)

* Fix config path

* Add lib prefix substitution
This commit is contained in:
Griffin Downs 2019-04-15 09:10:26 -07:00 committed by GitHub
parent 50f5372193
commit f912e8fe10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,3 @@
Source: tbb Source: tbb
Version: 2019_U5 Version: 2019_U5-1
Description: Intel's Threading Building Blocks. Description: Intel's Threading Building Blocks.

View File

@ -81,14 +81,14 @@ string(REPLACE
"${_contents}" "${_contents}"
) )
string(REPLACE string(REPLACE
"set(_tbb_release_lib \"/\${_tbb_component}.lib\")" "set(_tbb_release_lib \"/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
"set(_tbb_release_lib \"\${_tbb_root}/lib/\${_tbb_component}.lib\")" "set(_tbb_release_lib \"\${_tbb_root}/lib/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
_contents _contents
"${_contents}" "${_contents}"
) )
string(REPLACE string(REPLACE
"set(_tbb_debug_lib \"/\${_tbb_component}_debug.lib\")" "set(_tbb_debug_lib \"/${TBB_LIB_PREFIX}\${_tbb_component}_debug.${TBB_LIB_EXT}\")"
"set(_tbb_debug_lib \"\${_tbb_root}/debug/lib/\${_tbb_component}_debug.lib\")" "set(_tbb_debug_lib \"\${_tbb_root}/debug/lib/${TBB_LIB_PREFIX}\${_tbb_component}_debug.${TBB_LIB_EXT}\")"
_contents _contents
"${_contents}" "${_contents}"
) )