On Fri, 23 Aug 2024 at 18:55, Richard Purdie
<[email protected]> wrote:

> Is there any notion of cross compiling in cmake? This might be
> upstreamable if you could make "wayland-scanner" conditional upon cross
> compiling?

The correct fix would be to use the output from 'native' pkg-config
(set via cmake class to point to pkg-config-native executable) for
finding this particular piece, but I couldn't find such a notion in
cmake. It does exist in meson, and we use it, sending fixes upstream
where they get native vs 'regular' pkg-config wrong.

Another option would be to actually send the patch as it is - simply
use 'wayland-scanner' from PATH always. There's little reason for it
to be called something else, or supplied from a non-standard location
which is not in PATH.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203700): 
https://lists.openembedded.org/g/openembedded-core/message/203700
Mute This Topic: https://lists.openembedded.org/mt/108056130/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to