@@ -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