Skip to content

Commit

Permalink
Move launch_testing_ament_cmake requirement to if testing block
Browse files Browse the repository at this point in the history
  • Loading branch information
brow1633 committed Jul 11, 2024
1 parent 8778c64 commit 342bca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
find_package(pluginlib REQUIRED)
find_package(launch_testing_ament_cmake REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)
find_package(PkgConfig REQUIRED)
pkg_check_modules(ZSTD REQUIRED libzstd)

if(BUILD_TESTING)
find_package(launch_testing_ament_cmake REQUIRED)
find_package(ament_lint_auto REQUIRED)
set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
Expand Down

0 comments on commit 342bca1

Please sign in to comment.