Skip to content

Fix defines for multiple dependent libraries

Joe Snyder requested to merge fix_multilibrary_depends into master

When the autopybind script sets up the "-D" options in the rsp files, a single library will return empty. Multiple libraries, though, will add two empty strings and trigger the addition of the flags to the compiler leading to errors.

Check to see if the incoming define parameter is anything other than an empty string, and only append "-D" if that is true. .

Merge request reports