bayesian-object-tracking / dbot_ros

ROS package of Depth-Based Bayesian Object Tracking
GNU General Public License v2.0
57 stars 23 forks source link

Fix CMakeLists.txt variable reference to prevent full system recursion #6

Open adamconkey opened 6 years ago

adamconkey commented 6 years ago

The variable dbot_SOURCE_DIR referenced in CMakeLists.txt is not set in this file. As such, it takes it as an empty string, and you end up recursing on the ENTIRE filesystem. Kind of awesome, it was looking for headers in my trash and in other user accounts.

The fix is simply use dbot_ros_SOURCE_DIR instead. An added benefit is it takes significantly less time to compile now.