Commit e574ef01 authored by Adrian Negreanu's avatar Adrian Negreanu Committed by Matt Turner

WaffleDefineCompilerFlags: FindPkgConfig variables are lists

In case of a list, cmake uses ';' as an element separator.
When the list is used as a string, as compiler CFLAGS,
the ';' ends up being picked up by the shell as an 'end of command'.

Iterate through the list and use ' ' as element separator.
Reviewed-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
Signed-off-by: default avatarAdrian Negreanu <adrian.negreanu@nxp.com>
parent 5505f480
Pipeline #121971 passed with stages
in 1 minute and 19 seconds