Skip to content

Commit

Permalink
individual_trajectories_bridge/CMakeLists.txt:
Browse files Browse the repository at this point in the history
* Fix linter error

Signed-off-by: LanderU <[email protected]>
  • Loading branch information
LanderU committed Jun 25, 2019
1 parent e28d0f1 commit 9d02d4f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions individual_trajectories_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# we dont use add_compile_options with pedantic in message packages
# we dont use add_compile_options with pedantic
# in message packages
# because the Python C extensions dont comply with it
add_compile_options(-Wall -Wextra)
endif()
Expand Down Expand Up @@ -35,15 +36,17 @@ find_ros1_interface_packages(ros1_message_packages)
find_package(PkgConfig)
if(NOT PKG_CONFIG_FOUND)
message(STATUS "Failed to find PkgConfig, skipping...")
# call ament_package() to avoid being treated as a plain CMake package from ament_tools
# call ament_package() to avoid being treated as a plain
# CMake package from ament_tools
ament_package()
return()
endif()

find_ros1_package(roscpp)
if(NOT ros1_roscpp_FOUND)
message(STATUS "Failed to find ROS 1 roscpp, skipping...")
# call ament_package() to avoid being treated as a plain CMake package from ament_tools
# call ament_package() to avoid being treated as a plain
# CMake package from ament_tools
ament_package()
return()
endif()
Expand Down

0 comments on commit 9d02d4f

Please sign in to comment.