Skip to content

Commit

Permalink
[ROS] Add missing entry to PYTHONPATH for Humble
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDuvinage authored Jan 21, 2025
1 parent 8021650 commit 0d8b819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/ros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function(AppendROSWorkspace DEV_DIR SRC_DIR)
set(ENV{ROS_VERSION} "2")
set(ENV{AMENT_PREFIX_PATH} "${DEV_DIR}:$ENV{AMENT_PREFIX_PATH}")
set(ENV{COLCON_PREFIX_PATH} "${DEV_DIR}:$ENV{COLCON_PREFIX_PATH}")
set(ENV{PYTHONPATH} "${DEV_DIR}/local/lib/python3.10/dist-packages:$ENV{PYTHONPATH}")
else()
set(ENV{ROS_VERSION} "1")
set(ENV{PKG_CONFIG_PATH} "${DEV_DIR}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}")
Expand Down

0 comments on commit 0d8b819

Please sign in to comment.