Skip to content

Commit cd88ac3

Browse files
committed
remove testing from ros2 CMakeLists.txt
1 parent e5f9c87 commit cd88ac3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

mqtt_client/CMakeLists.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if(${ROS_VERSION} EQUAL 2)
1919
find_package(rclcpp REQUIRED)
2020
find_package(std_msgs REQUIRED)
2121

22-
# Paho MQTT C++ apt package doesn't include cMake config
22+
# Paho MQTT C++ apt package doesn't include CMake config
2323
# find_package(PahoMqttCpp REQUIRED)
2424
find_library(PahoMqttC_LIBRARY libpaho-mqtt3as.so.1 REQUIRED)
2525
find_library(PahoMqttCpp_LIBRARY libpaho-mqttpp3.so.1 REQUIRED)
@@ -58,17 +58,17 @@ if(${ROS_VERSION} EQUAL 2)
5858
FILES_MATCHING PATTERN "*ros2*"
5959
)
6060

61-
if(BUILD_TESTING)
62-
find_package(ament_lint_auto REQUIRED)
63-
# the following line skips the linter which checks for copyrights
64-
# comment the line when a copyright and license is added to all source files
65-
set(ament_cmake_copyright_FOUND TRUE)
66-
# the following line skips cpplint (only works in a git repo)
67-
# comment the line when this package is in a git repo and when
68-
# a copyright and license is added to all source files
69-
set(ament_cmake_cpplint_FOUND TRUE)
70-
ament_lint_auto_find_test_dependencies()
71-
endif()
61+
# if(BUILD_TESTING)
62+
# find_package(ament_lint_auto REQUIRED)
63+
# # the following line skips the linter which checks for copyrights
64+
# # comment the line when a copyright and license is added to all source files
65+
# set(ament_cmake_copyright_FOUND TRUE)
66+
# # the following line skips cpplint (only works in a git repo)
67+
# # comment the line when this package is in a git repo and when
68+
# # a copyright and license is added to all source files
69+
# set(ament_cmake_cpplint_FOUND TRUE)
70+
# ament_lint_auto_find_test_dependencies()
71+
# endif()
7272

7373
ament_package()
7474

0 commit comments

Comments
 (0)