[rsocket]:fix ERROR macro

This commit is contained in:
jiayuehua 2022-04-06 21:33:40 +08:00
parent 5562f6d7a1
commit eb5f21325a
5 changed files with 20 additions and 2 deletions

View 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)

View File

@ -14,6 +14,7 @@ vcpkg_from_github(
fix-find-dependencies.patch
use-cpp-17.patch
fix-folly.patch
nogdi-macro.patch
)
vcpkg_cmake_configure(

View File

@ -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": [

View File

@ -6222,7 +6222,7 @@
},
"rsocket": {
"baseline": "2021.08.30.00",
"port-version": 1
"port-version": 2
},
"rtabmap": {
"baseline": "0.20.13",

View File

@ -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",