Skip to content

Commit b976c04

Browse files
authored
Fixed ROS 1 lint
1 parent 6509ccc commit b976c04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
cmake_minimum_required(VERSION 3.10.2)
55
project(cras_msgs)
66

7+
find_package(ros_environment REQUIRED)
8+
79
find_package(ament_cmake QUIET)
810
find_package(catkin QUIET)
911

@@ -137,4 +139,4 @@ elseif(ament_cmake_FOUND)
137139

138140
else()
139141
message(FATAL_ERROR "Build failed because neither catkin nor ament found.")
140-
endif()
142+
endif()

0 commit comments

Comments
 (0)