Skip to content

Commit

Permalink
suppress warning
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
  • Loading branch information
soblin committed Jun 4, 2022
1 parent d36cd1f commit 60d794f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/tier4_traffic_light_rviz_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(tier4_traffic_light_rviz_plugin)

find_package(autoware_cmake REQUIRED)

# NOTE(Mamoru Sobue): workaround to avoid 'missing tinyxml2::tinyxml2'
# TODO(Mamoru Sobue): workaround to avoid 'missing tinyxml2::tinyxml2'
# From tinyxml2_vendor/cmake/Modules/FindTinyXML2.cmake
find_package(TinyXML2 CONFIG QUIET)
if(NOT TinyXML2_FOUND)
Expand All @@ -27,8 +27,6 @@ set(QT_LIBRARIES Qt5::Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_options(-Wno-error=deprecated-copy -Wno-error=pedantic)

ament_auto_add_library(${PROJECT_NAME} SHARED
src/traffic_light_publish_panel.cpp
)
Expand All @@ -37,6 +35,8 @@ target_link_libraries(${PROJECT_NAME}
${QT_LIBRARIES}
)

target_compile_options(${PROJECT_NAME} PUBLIC -Wno-error=deprecated-copy -Wno-error=pedantic)

# Export the plugin to be imported by rviz2
pluginlib_export_plugin_description_file(rviz_common plugins/plugin_description.xml)

Expand Down

0 comments on commit 60d794f

Please sign in to comment.