Skip to content

Commit

Permalink
calling catkin_python_setup() in CMakeLists.txt
Browse files Browse the repository at this point in the history
When building with catkin, python files were not deployed before,
causing import errors in ros nodes
  • Loading branch information
llach committed Jun 1, 2018
1 parent 381750a commit f2853c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ find_package(catkin REQUIRED COMPONENTS
message_generation
)

# setup.py is called during catkin build
catkin_python_setup()

# Generate messages in the 'msg' folder
add_message_files(
FILES
Expand Down

0 comments on commit f2853c5

Please sign in to comment.