diff --git a/nebula_tests/CMakeLists.txt b/nebula_tests/CMakeLists.txt
index 4753586da..da2481a2f 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)
@@ -43,12 +44,14 @@ if(BUILD_TESTING)
${nebula_decoders_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${rosbag2_cpp_INCLUDE_DIRS}
+ ${diagnostic_updater_INCLUDE_DIRS}
)
set(NEBULA_TEST_LIBRARIES
${nebula_common_TARGETS}
${PCL_LIBRARIES}
${rosbag2_cpp_TARGETS}
+ ${diagnostic_updater_TARGETS}
)
set(CONTINENTAL_TEST_LIBRARIES
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