> -----Original Message----- > From: Ross Burton <ross.bur...@arm.com> > Sent: den 4 februari 2025 17:20 > To: Peter Kjellerstedt <peter.kjellerst...@axis.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] meson.bbclass: Specify a cross binary for cmake > > On 4 Feb 2025, at 16:06, Peter Kjellerstedt via lists.openembedded.org > <peter.kjellerstedt=axis....@lists.openembedded.org> wrote: > > +cmake = ‘cmake' > > Is that not the default?
Does not look like it. I guess it is the same as for, e.g., pkg-config, which is on the next line in the meson.cross file. Without it, the build fails with: Found CMake: NO Run-time dependency nlohmann_json_schema_validator found: NO (tried pkgconfig) ../git/meson.build:8:18: ERROR: Dependency "nlohmann_json_schema_validator" not found, tried pkgconfig With it, I instead get: Found CMake: .../recipe-sysroot-native/usr/bin/cmake (3.30.2) Run-time dependency nlohmann_json_schema_validator found: YES 2.2.0 and the build succeeds. > > Ross //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210813): https://lists.openembedded.org/g/openembedded-core/message/210813 Mute This Topic: https://lists.openembedded.org/mt/110994189/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-