-
Notifications
You must be signed in to change notification settings - Fork 5
Change debug / optimized for generator expressions #16
Conversation
Signed-off-by: Luca Della Vedova <[email protected]>
Can you provide a link to CMake documentation for that change? |
So this is the source of the error in the CMake source code: |
I triggered a CI job for this yesterday. I'll report back once the job is launched (it's still stuck in the build queue). |
Signed-off-by: Luca Della Vedova <[email protected]>
Apologies there was an unbalanced bracket that messed up the library names and the generator expression outputs. Should be fixed now.
The result before the fix is:
While after the fix is:
So all looks in place now, again apologies for not spotting that earlier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks okay to me given that all CI builds come back green and it resolves the problem reported by @luca-della-vedova.
@Karsten1987 Is this ready to be merged? |
Thanks for the reminder. Going ahead and merge. |
Using the optimized / debug directives in CMake is not allowed in modern versions, specifically when building a ROS2 package with ignition the following error occurs:
The PR removed the debug / optimized directives in favor of generator expressions, as suggested in the CMake error.