[yocto] problem with installation pathes of recipes useing cmake + cpack

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Fri Jun 24 03:04:22 PDT 2016


Hej

I have several recipes which are based on cmake.  At cmake is the "make 
package" enabled. It is based on CPack(debian).

I am using the predefined GNU installation dirs by 
"include(GNUInstallDirs)" and its variables like CMAKE_INSTALL_FULL_BINDIR 
etc.
(https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html)

CMAKE_INSTALL_FULL_BINDIR is set to /usr/local/bin by default, when 
building the package on my development machine outside of Yocto. That is 
fine.

When building the same project in Yocto the CMAKE_INSTALL_FULL_BINDIR is 
set to usr/bin. Seems that the prefix is set by Yocto.

Any ideas how to fix that problem?

Regards

Stefan

------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160624/b7a7045e/attachment.html>


More information about the yocto mailing list