AMZ-Racing / fssim

Formula Student Simulator dedicated for FSD competition
MIT License
238 stars 87 forks source link

fix some catkin_make errors and warnings #7

Closed dprossel closed 4 years ago

dprossel commented 4 years ago

When building the project in a catkin workspace with catkin_make instead of catkin build, some include errors occurred, where cMake does not find header files in the gazebo_plugins package. This can be fixed by including the project's source directory(PROJECT_SOURCE_DIR) instead of CMAKE_SOURCE_DIR. Also some warnings showed up, when trying to link to the directories in EIGEN3_INCLUDE_DIRS and PCL_INCLUDE_DIR. These link target's are save to remove as directories can not be linked and cmake ignores them anyway at the moment with the mentioned warning.

It would be nice, if you could merge this into master as well, if it gets accepted.

kabzo commented 4 years ago

@musti95 thank you for doing this. I tested it and it works well!