diff --git a/nebula_tests/CMakeLists.txt b/nebula_tests/CMakeLists.txt
index 4753586da..5bf19e325 100644
--- a/nebula_tests/CMakeLists.txt
+++ b/nebula_tests/CMakeLists.txt
@@ -26,6 +26,7 @@ find_package(nebula_common REQUIRED)
find_package(nebula_decoders REQUIRED)
find_package(PCL REQUIRED COMPONENTS common)
find_package(rosbag2_cpp REQUIRED)
+find_package(diagnostic_updater REQUIRED)
if(BUILD_TESTING)
@@ -53,6 +54,7 @@ if(BUILD_TESTING)
set(CONTINENTAL_TEST_LIBRARIES
${NEBULA_TEST_LIBRARIES}
+ ${diagnostic_updater_TARGETS}
nebula_decoders::nebula_decoders_continental
)
diff --git a/nebula_tests/continental/CMakeLists.txt b/nebula_tests/continental/CMakeLists.txt
index 10e01ca1f..b2047d062 100644
--- a/nebula_tests/continental/CMakeLists.txt
+++ b/nebula_tests/continental/CMakeLists.txt
@@ -6,6 +6,7 @@ add_library(continental_ros_decoder_test_ars548 SHARED
target_include_directories(continental_ros_decoder_test_ars548 PUBLIC
${NEBULA_TEST_INCLUDE_DIRS}
+ ${diagnostic_updater_INCLUDE_DIRS}
)
target_link_libraries(continental_ros_decoder_test_ars548
@@ -32,6 +33,7 @@ add_library(continental_ros_decoder_test_srr520 SHARED
target_include_directories(continental_ros_decoder_test_srr520 PUBLIC
${NEBULA_TEST_INCLUDE_DIRS}
+ ${diagnostic_updater_INCLUDE_DIRS}
)
target_link_libraries(continental_ros_decoder_test_srr520
diff --git a/nebula_tests/package.xml b/nebula_tests/package.xml
index 375dd0e3d..419a1f23e 100644
--- a/nebula_tests/package.xml
+++ b/nebula_tests/package.xml
@@ -12,6 +12,7 @@
ament_cmake_auto
ros_environment
+ diagnostic_updater
nebula_common
nebula_decoders
rosbag2_cpp