Skip to content

Conversation

adamconkey
Copy link

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.

@adamconkey adamconkey changed the title Fix cmake variable reference to prevent full system recursion Fix CMakeLists.txt variable reference to prevent full system recursion Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant