[poky] [PULL][PATCH 1/1] cmake: remove version in directory structure
Maxime Roussin-Bélanger
maxime.roussinbelanger at gmail.com
Fri Nov 30 07:48:33 PST 2018
On Fri, Nov 30, 2018 at 5:29 AM Burton, Ross <ross.burton at intel.com> wrote:
>
> On Fri, 30 Nov 2018 at 01:30, Maxime Roussin-Bélanger
> <maxime.roussinbelanger at gmail.com> wrote:
>
> The context is useful, thanks. Note that Debian does exactly the
> same: cmake installs to /usr/lib/cmake-[version] and eigen installs to
> /usr/lib/cmake/, and that works. Is this a problem in general builds
> or just the SDK? Possibly our toolchain file is breaking the usual
> lookup.
Yes it works (in general builds) because inside cmake.bbclass there is that
line
`list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")`
But when you are using the SDK that path is not added. That means that all
library that
are installed inside that directory can't be found.
>
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20181130/fc406fa4/attachment.html>
More information about the poky
mailing list