Skip to content

Commit 482aaa9

Browse files
committed
fix:cmakelists.txt fixed
1 parent bd0fec7 commit 482aaa9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

example/GigeCam/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "$ORIGIN")
3131
# **************************编译ROS2节点*****************************
3232
find_package(rclcpp QUIET)
3333
if (NOT rclcpp_FOUND)
34-
message(STATUS "rclcpp not found. ros2 demo will not be built")
34+
message(STATUS "rclcpp not found. ROS2 demo will not be built")
3535
else ()
36-
message(STATUS "rclcpp found. ros2 demo will be built")
36+
message(STATUS "rclcpp found. ROS2 demo will be built")
3737
find_package(ament_cmake REQUIRED)
3838
find_package(std_msgs REQUIRED)
3939
find_package(sensor_msgs REQUIRED)
@@ -67,11 +67,13 @@ else ()
6767
)
6868
ament_package()
6969
endif ()
70+
7071
# **************************编译ROS1节点*****************************
7172
find_package(catkin QUIET)
7273
if (NOT catkin_FOUND)
73-
message(STATUS "catkin found, ros1 demo will be built")
74+
message(STATUS "catkin not found, ROS1 demo will not be built")
7475
else ()
76+
message(STATUS "catkin found. ROS1 demo will be built")
7577
find_package(catkin REQUIRED COMPONENTS
7678
roscpp
7779
sensor_msgs

0 commit comments

Comments
 (0)