aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-04-15 09:10:26 -0700
committerGitHub <noreply@github.com>2019-04-15 09:10:26 -0700
commitf912e8fe10fc8de50da17283d46a3064a2c8b285 (patch)
treec630ae9033ecf9cbc42465f200f01573e61e0280
parent50f5372193040a42eb7e28bfe2db3e59f689721f (diff)
downloadvcpkg-f912e8fe10fc8de50da17283d46a3064a2c8b285.tar.gz
vcpkg-f912e8fe10fc8de50da17283d46a3064a2c8b285.zip
[tbb] Fix config path (#6100)
* Fix config path * Add lib prefix substitution
-rw-r--r--ports/tbb/CONTROL2
-rw-r--r--ports/tbb/portfile.cmake8
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/tbb/CONTROL b/ports/tbb/CONTROL
index 048f711e0..4c47458bc 100644
--- a/ports/tbb/CONTROL
+++ b/ports/tbb/CONTROL
@@ -1,3 +1,3 @@
Source: tbb
-Version: 2019_U5
+Version: 2019_U5-1
Description: Intel's Threading Building Blocks.
diff --git a/ports/tbb/portfile.cmake b/ports/tbb/portfile.cmake
index a0895442d..b99fdb017 100644
--- a/ports/tbb/portfile.cmake
+++ b/ports/tbb/portfile.cmake
@@ -81,14 +81,14 @@ string(REPLACE
"${_contents}"
)
string(REPLACE
- "set(_tbb_release_lib \"/\${_tbb_component}.lib\")"
- "set(_tbb_release_lib \"\${_tbb_root}/lib/\${_tbb_component}.lib\")"
+ "set(_tbb_release_lib \"/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
+ "set(_tbb_release_lib \"\${_tbb_root}/lib/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
_contents
"${_contents}"
)
string(REPLACE
- "set(_tbb_debug_lib \"/\${_tbb_component}_debug.lib\")"
- "set(_tbb_debug_lib \"\${_tbb_root}/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_LIB_PREFIX}\${_tbb_component}_debug.${TBB_LIB_EXT}\")"
_contents
"${_contents}"
)