Skip to content

Commit

Permalink
refactor(radar_threshold_filter): fix changing to autoware_cmake depe…
Browse files Browse the repository at this point in the history
…ndency (#2366)

* refactor(radar_threshold_filter): fix changing to autoware_cmake dependency

Signed-off-by: scepter914 <scepter914@gmail.com>

* add code maintainer

Signed-off-by: scepter914 <scepter914@gmail.com>

Signed-off-by: scepter914 <scepter914@gmail.com>
  • Loading branch information
scepter914 authored Nov 25, 2022
1 parent 70e0647 commit 61c78ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 3 additions & 14 deletions sensing/radar_threshold_filter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
cmake_minimum_required(VERSION 3.5)
project(radar_threshold_filter)

## Compile options
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

## Dependencies
find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()
# Dependencies
find_package(autoware_cmake REQUIRED)
autoware_package()

## Targets
ament_auto_add_library(radar_threshold_filter_node_component SHARED
Expand Down
2 changes: 2 additions & 0 deletions sensing/radar_threshold_filter/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<version>0.1.0</version>
<description>radar_threshold_filter</description>
<maintainer email="satoshi.tanaka@tier4.jp">Satoshi Tanaka</maintainer>
<maintainer email="shunsuke.miura@tier4.jp">Shunsuke Miura</maintainer>
<author email="satoshi.tanaka@tier4.jp">Satoshi Tanaka</author>
<license>Apache License 2.0</license>

Expand All @@ -13,6 +14,7 @@
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>

<build_depend>autoware_cmake</build_depend>
<test_depend>ament_clang_format</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
Expand Down

0 comments on commit 61c78ac

Please sign in to comment.