[yocto] How to set a cmake cache variable to a spezific value?
Oleksandr Poznyak
oleksandr.poznyak at gmail.com
Thu Jun 2 06:29:40 PDT 2016
Hi,
Just add to recipe:
inherit cmake
EXTRA_OECMAKE += " -DVARIABLE_NAME=value"
On Thu, Jun 2, 2016 at 4:24 PM, Burton, Ross <ross.burton at intel.com> wrote:
>
> 2016-05-30 12:59 GMT+01:00 <S.Jaritz at esa-grimma.de>:
>
>> I want to build a recipe for a cmake based application. To make it run I
>> need to set a cached cmake variable.
>>
>
> EXTRA_OECMAKE += "-DVARIABLE_NAME=value"
>
> Ross
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160602/731e0c3a/attachment.html>
More information about the yocto
mailing list