Skip to content

Commit

Permalink
Refs #19490: update Fast DDS and Fast CDR required minimum version
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
  • Loading branch information
JLBuenoLopez committed Sep 26, 2023
1 parent 060b625 commit 3fe22af
Show file tree
Hide file tree
Showing 38 changed files with 74 additions and 74 deletions.
2 changes: 1 addition & 1 deletion cmake/packaging/Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(@PROJECT_NAME@_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")

find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
find_package(foonathan_memory REQUIRED)
find_package(TinyXML2 QUIET)
@FASTRTPS_INSTALLER_DEPS_ANCILLARY@
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/AdvancedConfigurationExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(AdvancedConfigurationExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/BasicConfigurationExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(BasicConfigurationExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/Benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project("Benchmark" VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/Configurability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(Configurability VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/ContentFilteredTopicExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project("ContentFilterTopic" VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

message(STATUS "Configuring ContentFilterTopic examples...")
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/CustomListenerExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(DDSCustomListener VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

# Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/DeadlineQoSExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(DeadlineQoSExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/DisablePositiveACKs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(LifespanQoSExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/DiscoveryServerExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(DiscoveryServerExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/DynamicHelloWorldExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(DDSDynamicHelloWorldExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/Filtering/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(FilteringExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/FlowControlExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(FlowControlExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/HelloWorldExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(DDSHelloWorldExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/HelloWorldExampleDataSharing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(DDSHelloWorldExampleDataSharing VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/HelloWorldExampleSharedMem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(HelloWorldExampleSharedMem VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/HelloWorldExampleTCP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project("HelloWorldExampleTCP" VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/HistoryKind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(HistoryKindSample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/Keys/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(KeysSample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/LateJoiners/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(LateJoiners VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/LifespanQoSExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(LifespanQoSExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/LivelinessQoS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(LivelinessQoS VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/OwnershipStrengthQoSExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(OwnershipStrengthQoSExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/RequestReplyExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ project(RequestReplyExample VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/dds/SampleConfig_Controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ project(SampleControllerConfig VERSION 1 LANGUAGES CXX)

# Find requirements
if(NOT fastcdr_FOUND)
find_package(fastcdr REQUIRED)
find_package(fastcdr 2 REQUIRED)
endif()

if(NOT foonathan_memory_FOUND)
find_package(foonathan_memory REQUIRED)
endif()

if(NOT fastrtps_FOUND)
find_package(fastrtps REQUIRED)
find_package(fastrtps 2.12 REQUIRED)
endif()

#Check C++11
Expand Down
Loading

0 comments on commit 3fe22af

Please sign in to comment.