Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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