Skip to content

Commit

Permalink
[ROS] Correctly pass ROS_VERSION in the prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Oct 13, 2023
1 parent 6c0bd82 commit 5b0adf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/command-prefix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function(GetCommandPrefix VAR WRITE_TO)
ROS_ROOT=$ENV{ROS_ROOT}
ROS_ETC_DIR=$ENV{ROS_ETC_DIR}
ROS_PARALLEL_JOBS="$ENV{ROS_PARALLEL_JOBS}"
ROS_VERSION="${ROS_VERSION}"
ROS_VERSION="$ENV{ROS_VERSION}"
)
if(ROS_IS_ROS2)
list(APPEND CMAKE_COMMAND_PREFIX
Expand Down

0 comments on commit 5b0adf3

Please sign in to comment.