Skip to content

Commit

Permalink
fast-dds: add version 2.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoenm committed Aug 6, 2023
1 parent c53c2c0 commit 41a4cbe
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes/fast-dds/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"2.11.1":
url: "https://github.com/eProsima/Fast-DDS/archive/refs/tags/v2.11.1.tar.gz"
sha256: "3fe8b9f67a13a5d2aa40c0bd10581bd90f0a192b39c71f92ee233ffe584d3374"
"2.10.1":
url: "https://github.com/eProsima/Fast-DDS/archive/refs/tags/v2.10.1.tar.gz"
sha256: "2cc2682db5dc7e87684b7f23166e2f32faf8d5c4b4a8c94c6c21211a8a38f553"
Expand All @@ -12,6 +15,10 @@ sources:
url: "https://github.com/eProsima/Fast-DDS/archive/refs/tags/v2.3.2.tar.gz"
sha256: "4d8183cf4d37c3de9e6fd28d2850dd08023a9079001c4880b23c95f0d8c0b5ce"
patches:
"2.11.1":
- patch_file: "patches/2.11.1-0001-fix-find-asio-and-tinyxml2.patch"
patch_type: "conan"
patch_description: "Fixup find asio and tinyxml2"
"2.10.1":
- patch_file: "patches/2.10.1-0001-fix-find-asio-and-tinyxml2.patch"
patch_type: "conan"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From b8c533b0fb2b92e9bd2aada5e195d7a0b3c0c6a9 Mon Sep 17 00:00:00 2001
From: Joakim Haugen <[email protected]>
Date: Wed, 10 May 2023 13:17:11 +0200
Subject: [PATCH] fix find asio and tinyxml2

---
CMakeLists.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b01b2c470..7867feff3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,9 +232,11 @@ if(NOT BUILD_SHARED_LIBS)
set(FASTDDS_STATIC ON)
endif()

-eprosima_find_package(fastcdr REQUIRED)
-eprosima_find_thirdparty(Asio asio VERSION 1.10.8)
-eprosima_find_thirdparty(TinyXML2 tinyxml2)
+eprosima_find_thirdparty(fastcdr REQUIRED)
+eprosima_find_thirdparty(asio REQUIRED)
+eprosima_find_thirdparty(tinyxml2 REQUIRED)
+set(TINYXML2_LIBRARY tinyxml2::tinyxml2)
+set(Asio_INCLUDE_DIR ${asio_INCLUDE_DIR})

find_package(foonathan_memory REQUIRED)
message(STATUS "Found foonathan_memory: ${foonathan_memory_DIR}")
--
2.30.2

2 changes: 2 additions & 0 deletions recipes/fast-dds/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"2.11.1":
folder: all
"2.10.1":
folder: all
"2.3.4":
Expand Down

0 comments on commit 41a4cbe

Please sign in to comment.