mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 23:07:58 +08:00
[microsoft-signalr] Update port with new version and find_package support (#16885)
* Update microsoft-signalr port with new version and find_package support * version
This commit is contained in:
parent
5a10163c44
commit
be656b22a4
@ -1,6 +1,6 @@
|
|||||||
Source: microsoft-signalr
|
Source: microsoft-signalr
|
||||||
Version: 0.1.0-alpha1
|
Version: 0.1.0-alpha2
|
||||||
Port-Version: 2
|
Port-Version: 0
|
||||||
Description: C++ Client for ASP.NET Core SignalR.
|
Description: C++ Client for ASP.NET Core SignalR.
|
||||||
Default-Features: default-features
|
Default-Features: default-features
|
||||||
Homepage: https://github.com/aspnet/SignalR-Client-Cpp
|
Homepage: https://github.com/aspnet/SignalR-Client-Cpp
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO aspnet/SignalR-Client-Cpp
|
REPO aspnet/SignalR-Client-Cpp
|
||||||
REF v0.1.0-alpha1
|
REF v0.1.0-alpha2
|
||||||
SHA512 d37eea194b0352a08dd89ac7622bdd6224312ad48a31d8ab36627a8aaff5e795e3513ad010eed516703f6da842a95119c1a4a290b145a43e91ff80a37fff8676
|
SHA512 5a25bdf1f4587c7c008b743c0e97c5b293839b4a63bad89b3c37a1affccfa26df12b20f69a822e8d0eddb4491b3f0e513f017c39528a39990527aac44b3d6f5b
|
||||||
HEAD_REF master
|
HEAD_REF main
|
||||||
PATCHES remove-fno-rtti-compile-option.patch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_check_features(
|
vcpkg_check_features(
|
||||||
@ -27,7 +26,9 @@ vcpkg_configure_cmake(
|
|||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/share/microsoft-signalr)
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/share ${CURRENT_PACKAGES_DIR}/lib/share)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
diff --git a/src/signalrclient/CMakeLists.txt b/src/signalrclient/CMakeLists.txt
|
|
||||||
index 42d64d3..10fa72f 100644
|
|
||||||
--- a/src/signalrclient/CMakeLists.txt
|
|
||||||
+++ b/src/signalrclient/CMakeLists.txt
|
|
||||||
@@ -58,10 +58,10 @@ else()
|
|
||||||
target_compile_options(signalrclient PRIVATE -Wall)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
- # GCC on OSX has a bug with exceptions and no-rtti that can cause crashes
|
|
||||||
- if(NOT APPLE)
|
|
||||||
+ # boost-asio (a dependency) doesn't support fno-rtti anymore
|
|
||||||
+ if(0)
|
|
||||||
target_compile_options(signalrclient PRIVATE -fno-rtti)
|
|
||||||
endif()
|
|
||||||
target_compile_options(signalrclient PRIVATE -Wextra -Wpedantic -Wno-unknown-pragmas)
|
|
||||||
endif()
|
|
||||||
|
|
@ -3833,8 +3833,8 @@
|
|||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"microsoft-signalr": {
|
"microsoft-signalr": {
|
||||||
"baseline": "0.1.0-alpha1",
|
"baseline": "0.1.0-alpha2",
|
||||||
"port-version": 2
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"mikktspace": {
|
"mikktspace": {
|
||||||
"baseline": "2020-10-06",
|
"baseline": "2020-10-06",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "6035b3729564e1a85d60cc322d5dda0ea16d858d",
|
||||||
|
"version-string": "0.1.0-alpha2",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "f713853a4b9a4cab2c7c26abd868b1b04fc47bec",
|
"git-tree": "f713853a4b9a4cab2c7c26abd868b1b04fc47bec",
|
||||||
"version-string": "0.1.0-alpha1",
|
"version-string": "0.1.0-alpha1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user