On 22 August 2016 at 15:27, Clemens Lang <clemens.l...@bmw-carit.de> wrote:

> CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
> breaks cross-compilation. This fact is documented in the following
> ticket: https://cmake.org/Bug/view.php?id=14367
>
> $sysconfdir and $localstatedir are not relative to $prefix, so they are
> still set as absolute paths. With his change ${PROJECT}Targets.cmake
> that are generated by cmakes "export" function will contain relative
> paths instead of absolute ones.
>

Seems to work in my testing, but this breaks piglit's bash-completion logic
again (resulting in it not installing the file).  If you understand cmake
then having a quick look at that would be much appreciated.  For reference
the buildhistory-diff log is:

packages/corei7-64-poky-linux/piglit/piglit-bash-completion: FILELIST:
removed all items "/usr/share/bash-completion/completions/piglit:

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to