Skip to content

Commit

Permalink
Quiet a warning when CONNEXTDDS_DIR or NDDSHOME is not found. (#158)
Browse files Browse the repository at this point in the history
Failing to find those is an acceptable situation; in that
case, we will end up just not building rmw_connextdds.
Quiet the warning to only a STATUS message so it doesn't
cause builds to go yellow.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Aug 22, 2024
1 parent 27042e0 commit c8ffbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rti_connext_dds_cmake_module/cmake/rti_build_helper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ function(rti_load_connextddsdir)
file(TO_CMAKE_PATH "$ENV{NDDSHOME}" connextdds_dir)
endif()
if("${connextdds_dir}" STREQUAL "")
message(WARNING "no CONNEXTDDS_DIR nor NDDSHOME specified")
message(STATUS "no CONNEXTDDS_DIR nor NDDSHOME specified")
endif()
set(CONNEXTDDS_DIR "${connextdds_dir}")
endif()
Expand Down

0 comments on commit c8ffbfd

Please sign in to comment.