Skip to content

Commit

Permalink
depend on ros_environment
Browse files Browse the repository at this point in the history
  • Loading branch information
berndpfrommer committed Aug 3, 2023
1 parent d7256c3 commit 82b89ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -22,8 +22,8 @@ if(DEFINED ENV{ROS_VERSION})
elseif($ENV{ROS_VERSION} EQUAL "1")
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/ROS1.cmake)
else()
message(ERROR "invalid ROS_VERSION environment variable: $ENV{ROS_VERSION}")
message(SEND_ERROR "invalid ROS_VERSION environment variable: $ENV{ROS_VERSION}")
endif()
else()
message(ERROR "ROS_VERSION environment variable is not set!")
message(SEND_ERROR "ROS_VERSION environment variable is not set!")
endif()
1 change: 1 addition & 0 deletions package.xml
Expand Up @@ -27,6 +27,7 @@
<depend>event_camera_codecs</depend>
<depend>image_transport</depend>
<depend>sensor_msgs</depend>
<depend>ros_environment</depend>

<export>
<nodelet plugin="${prefix}/nodelet_plugins.xml"/>
Expand Down

0 comments on commit 82b89ed

Please sign in to comment.