mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:28:59 +08:00
[tbb] Fix linux pkgconfig (#33087)
Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
This commit is contained in:
parent
7d7c9c66de
commit
c95000e1b5
@ -30,7 +30,11 @@ if(NOT VCPKG_BUILD_TYPE)
|
||||
if(VCPKG_TARGET_ARCHITECTURE MATCHES "^(x86|arm|wasm32)$")
|
||||
set(arch_suffix "32")
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/tbb${arch_suffix}.pc" "-ltbb12" "-ltbb12_debug")
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/tbb${arch_suffix}.pc" "-ltbb12" "-ltbb12_debug")
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/tbb${arch_suffix}.pc" "-ltbb" "-ltbb_debug")
|
||||
endif()
|
||||
unset(arch_suffix)
|
||||
endif()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -2,6 +2,7 @@
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "tbb",
|
||||
"version": "2021.10.0",
|
||||
"port-version": 1,
|
||||
"description": "Intel's Threading Building Blocks.",
|
||||
"homepage": "https://github.com/oneapi-src/oneTBB",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -8034,7 +8034,7 @@
|
||||
},
|
||||
"tbb": {
|
||||
"baseline": "2021.10.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"tcb-span": {
|
||||
"baseline": "2022-06-15",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e8bd03cdf65a8793c09146f67f942afa941c68a0",
|
||||
"version": "2021.10.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "117288ebe187535733fd627985c192553c7b82e6",
|
||||
"version": "2021.10.0",
|
||||
|
Loading…
Reference in New Issue
Block a user