-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
recipes/fast-dds/all/patches/2.11.1-0001-fix-find-asio-and-tinyxml2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": | ||
|