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

fixed return bug in pods.cmake macros #2

Merged
merged 1 commit into from
Mar 27, 2014
Merged

fixed return bug in pods.cmake macros #2

merged 1 commit into from
Mar 27, 2014

Conversation

kuindersma
Copy link
Contributor

the return() statement after the warning in the pods macros would cause the cmakelists to terminate early (so, e.g., if snopt and gurobi are not present, the systems/plants/CMakeLists script in drake would terminate early with a warning and the drake-rbm package would never be installed). return() should only be used in functions unless aborting is the desired behavior.

RussTedrake added a commit that referenced this pull request Mar 27, 2014
fixed return bug in pods.cmake macros
@RussTedrake RussTedrake merged commit 162b038 into RobotLocomotion:master Mar 27, 2014
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.

None yet

2 participants