Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

reduce verbosity when Connext is not available #311

Merged
merged 1 commit into from
Nov 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion rmw_connext_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ endif()
find_package(ament_cmake REQUIRED)

find_package(connext_cmake_module REQUIRED)
find_package(Connext MODULE)
find_package(Connext QUIET MODULE)
if(Connext_FOUND)
find_package(Connext MODULE)
endif()
if(NOT Connext_FOUND OR CONNEXT_STATIC_DISABLE)
ament_package()
if(NOT Connext_FOUND)
Expand Down
5 changes: 4 additions & 1 deletion rmw_connext_dynamic_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ endif()
find_package(ament_cmake REQUIRED)

find_package(connext_cmake_module REQUIRED)
find_package(Connext MODULE)
find_package(Connext QUIET MODULE)
if(Connext_FOUND)
find_package(Connext MODULE)
endif()
if(NOT Connext_FOUND OR CONNEXT_DYNAMIC_DISABLE)
ament_package()
if(NOT Connext_FOUND)
Expand Down
5 changes: 4 additions & 1 deletion rmw_connext_shared_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ endif()

find_package(ament_cmake REQUIRED)
find_package(connext_cmake_module REQUIRED)
find_package(Connext MODULE)
find_package(Connext QUIET MODULE)
if(Connext_FOUND)
find_package(Connext MODULE)
endif()
if(NOT Connext_FOUND)
ament_package()
message(WARNING "Could not find RTI Connext - skipping '${PROJECT_NAME}'")
Expand Down