mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[fbthrift] Fix incorrect path in FBThriftConfig.cmake (#23686)
* [fbthrift] Fix incorrect path in FBThriftConfig.cmake * update version Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
parent
cec1fbea37
commit
e4a05031c5
@ -49,5 +49,14 @@ file(REMOVE_RECURSE
|
||||
vcpkg_copy_tools(TOOL_NAMES thrift1 AUTO_CLEAN)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftConfig.cmake")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftConfig.cmake"
|
||||
"${PACKAGE_PREFIX_DIR}/lib/cmake/fbthrift" "${PACKAGE_PREFIX_DIR}/share/fbthrift")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftConfig.cmake"
|
||||
"${PACKAGE_PREFIX_DIR}/bin/thrift1.exe" "${PACKAGE_PREFIX_DIR}/tools/fbthrift/thrift1.exe")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftConfig.cmake"
|
||||
"${PACKAGE_PREFIX_DIR}/bin/thrift1" "${PACKAGE_PREFIX_DIR}/tools/fbthrift/thrift1")
|
||||
endif()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "fbthrift",
|
||||
"version-string": "2022.01.31.00",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Facebook's branch of Apache Thrift, including a new C++ server.",
|
||||
"homepage": "https://github.com/facebook/fbthrift",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "x64 & static",
|
||||
"dependencies": [
|
||||
"boost-context",
|
||||
|
@ -2158,7 +2158,7 @@
|
||||
},
|
||||
"fbthrift": {
|
||||
"baseline": "2022.01.31.00",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"fcl": {
|
||||
"baseline": "0.7.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "228608a7708d80532948eec3a0987f2e85e4a43c",
|
||||
"version-string": "2022.01.31.00",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "bf1148604c897c7727621feb13713eac7e782497",
|
||||
"version-string": "2022.01.31.00",
|
||||
|
Loading…
x
Reference in New Issue
Block a user