ros-industrial / ros_industrial_cmake_boilerplate

Other
16 stars 14 forks source link

Always treat package description as a single string during extraction #65

Closed jdlangs closed 2 years ago

jdlangs commented 2 years ago

Fixes #61 and is cleaner for handling the case of an empty description.

Levi-Armstrong commented 2 years ago

Will this resolve the issue with having a semi-colon?

Levi-Armstrong commented 2 years ago

I see that the double quotes around the match variable were moved around, is that what solves the issue?

jdlangs commented 2 years ago

Yes to both. Without surrounding quotes CMake will treat a string with semicolons as a list and turn it into multiple arguments to the function/macro.