Skip to content

Commit

Permalink
Refs #21826. Apply suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Oct 9, 2024
1 parent a79ba21 commit 5a02808
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/dds/communication/dyn_network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,21 @@ if(UNIX AND NOT(APPLE) AND NOT(QNXNTO) AND NOT(ANDROID))
# Find bash
find_program(BASH_EXECUTABLE bash)
if(NOT BASH_EXECUTABLE)
message(FATAL_ERROR "bash not found")
message(WARNING "bash executable not found. dds.communication.dynamic_interfaces test won't be compiled.")
return()
endif()

set(SHELL_EXECUTABLE ${BASH_EXECUTABLE})

# Windows configurations
elseif(WIN32)
# We don't know which docker image to use for Windows yet
message(FATAL_ERROR "Windows not supported yet")

message(WARNING "Windows not supported yet. dds.communication.dynamic_interfaces test won't be compiled.")
return()
# Unsupported platform
else()
message(FATAL_ERROR "Unsupported platform")
message(WARNING "Unsupported platform. dds.communication.dynamic_interfaces test won't be compiled.")
return()
endif()

# Configure TinyXML2 library path if installed in user library path
Expand Down

0 comments on commit 5a02808

Please sign in to comment.