diff --git a/launch/localization_launch/CMakeLists.txt b/launch/localization_launch/CMakeLists.txt
index ccb239a68a669..5f76d89e4220f 100644
--- a/launch/localization_launch/CMakeLists.txt
+++ b/launch/localization_launch/CMakeLists.txt
@@ -2,15 +2,20 @@ cmake_minimum_required(VERSION 3.5)
project(localization_launch)
if(NOT CMAKE_CXX_STANDARD)
- set(CMAKE_CXX_STANDARD 14)
+ set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- add_compile_options(-Wall -Wextra -Wpedantic -Wno-unused-parameter)
+ add_compile_options(-Wall -Wextra -Wpedantic -Wno-unused-parameter)
endif()
find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()
+if(BUILD_TESTING)
+ find_package(ament_lint_auto REQUIRED)
+ ament_lint_auto_find_test_dependencies()
+endif()
+
ament_auto_package(INSTALL_TO_SHARE
- launch
- )
\ No newline at end of file
+ launch
+)
diff --git a/launch/localization_launch/package.xml b/launch/localization_launch/package.xml
index e4ccb2e7c6425..3dc295d636e5f 100644
--- a/launch/localization_launch/package.xml
+++ b/launch/localization_launch/package.xml
@@ -5,16 +5,9 @@
0.1.0
The localization_launch package
-
-
-
Yamato Ando
-
-
-
-
- Apache 2
+ Apache License 2.0
ament_cmake_auto
@@ -25,8 +18,9 @@
pointcloud_preprocessor
topic_tools
+ ament_lint_auto
+ ament_lint_common
-
ament_cmake