vcpkg/ports/fastdds/fix-find-package-asio.patch

14 lines
393 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c930e31..11b96a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -255,7 +255,7 @@ if(NOT BUILD_SHARED_LIBS)
endif()
eprosima_find_package(fastcdr 2 REQUIRED)
-eprosima_find_thirdparty(Asio asio VERSION 1.10.8)
+find_package(asio CONFIG REQUIRED)
eprosima_find_thirdparty(TinyXML2 tinyxml2)
find_package(foonathan_memory REQUIRED)