Hello everybody,

regarding my bug report
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14703 I was
forwarded to here to discuss requirements for a proper fix.

In the report, I already mentioned a non-generic workaround for that.
By extending the CMAKE_FIND_ROOT_PATH with CMAKE_INSTALL_PREFIX.
However this probably doesn't cover all ways a toolchain can be used.

Another solution could be to respect the user provided path and
instead of overwriting the CMAKE_FIND_ROOT_PATH variable, to only
extent it by the toolchains location.
This however would make it quite easy for a toolchain build to break
isolation, when wrong user input is set. I don't know how strong your
requirements regarding that would be.

So feedback how a fix should look like and what requirements it needs
to fulfill would be appreciated.

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

Reply via email to