mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:53:03 +08:00
[rsocket]:fix ERROR macro
This commit is contained in:
parent
5562f6d7a1
commit
eb5f21325a
12
ports/rsocket/nogdi-macro.patch
Normal file
12
ports/rsocket/nogdi-macro.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 38ef2b7..e5848af 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -17,6 +17,7 @@ set(CMAKE_MODULE_PATH
|
||||
${CMAKE_MODULE_PATH}
|
||||
)
|
||||
|
||||
+add_definitions(-DNOGDI)
|
||||
# Joins arguments and stores the result in ${var}.
|
||||
function(join var)
|
||||
unset(result)
|
@ -14,6 +14,7 @@ vcpkg_from_github(
|
||||
fix-find-dependencies.patch
|
||||
use-cpp-17.patch
|
||||
fix-folly.patch
|
||||
nogdi-macro.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "rsocket",
|
||||
"version-string": "2021.08.30.00",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "C++ implementation of RSocket http://rsocket.io",
|
||||
"homepage": "https://github.com/rsocket/rsocket-cpp",
|
||||
"dependencies": [
|
||||
|
@ -6222,7 +6222,7 @@
|
||||
},
|
||||
"rsocket": {
|
||||
"baseline": "2021.08.30.00",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"rtabmap": {
|
||||
"baseline": "0.20.13",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3eff07042b17994a76d39e2565a066f902b3e08d",
|
||||
"version-string": "2021.08.30.00",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "073c3faa3992179768ce7e76cc7d39b654db9e8c",
|
||||
"version-string": "2021.08.30.00",
|
||||
|
Loading…
Reference in New Issue
Block a user