diff --git a/rmw_zenoh_cpp/CMakeLists.txt b/rmw_zenoh_cpp/CMakeLists.txt index 1785a4cd..cc8c6944 100644 --- a/rmw_zenoh_cpp/CMakeLists.txt +++ b/rmw_zenoh_cpp/CMakeLists.txt @@ -23,7 +23,10 @@ find_package(rosidl_typesupport_fastrtps_cpp REQUIRED) find_package(rmw REQUIRED) find_package(rmw_dds_common REQUIRED) find_package(zenoh_c_vendor REQUIRED) -find_package(zenohc REQUIRED) +find_package(zenohc_debug QUIET) +if(NOT zenohc_debug_FOUND) + find_package(zenohc REQUIRED) +endif() add_library(rmw_zenoh_cpp SHARED src/detail/attachment_helpers.cpp