Skip to content

Do not hide failure in plugin library link

Marco Clemencic requested to merge clemenci-master-patch-09554 into master

I accidentally stumbled on a problem with the function used to generate the .components file for plugin libraries.

At some point I added

   COMMAND ... || true

that was meant to hide expected problems on the specific line, but because of the way cmake builds the full command line it ended up masking any failure, including link problems of the library.

This MR fixes the problem with a completely different and more reliable logic.

Merge request reports