On Mon, Jan 12 2026 at 10:23:19 -08:00:00, Khem Raj via
lists.openembedded.org <[email protected]>
wrote:
adding native gtest dep is causing build problems with clang/lld as
it now finds the native version instead of target version.
My mistake. I thought it would require native googletest for testing
but it actually wants to link for target.
Did some testing and either
DEPENDS = "googletest"
or
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
would fix the issue as well.
Maybe the latter would be the better fix since tests are not being
installed and run on target?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123389):
https://lists.openembedded.org/g/openembedded-devel/message/123389
Mute This Topic: https://lists.openembedded.org/mt/117189895/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-