From: | Kfir Lavi <lavi.kfir@×××××.com> | ||
---|---|---|---|
To: | gentoo-devhelp@l.g.o | ||
Subject: | Re: [gentoo-devhelp] How do I check for several USE flags in cmake-utils_use? | ||
Date: | Thu, 28 Jan 2016 04:45:42 | ||
Message-Id: | CAHNvW1Lii5HkiByfO4LbiKXgcZ7t+YtvPVkR3r0yAGp3-tWBHQ@mail.gmail.com | ||
In Reply to: | [gentoo-devhelp] How do I check for several USE flags in cmake-utils_use? by Nikos Chantziaras |
1 | On Thu, Jan 28, 2016 at 6:35 AM, Nikos Chantziaras <realnc@×××××.com> wrote: |
2 | |
3 | > What I need is set -DENABLE_GUI=ON when either the qt4 or the qt5 USE flag |
4 | > is enabled. But this doesn't work: |
5 | > |
6 | > $(cmake-utils_use qt4 qt5 ENABLE_GUI) |
7 | > |
8 | > How do I do this? I grep'ed the tree to find an example, but I can't find |
9 | > one that uses two USE flags. |
10 | > |
11 | > |
12 | > a bit of an hack: |
13 | use qt4 && use qt5 \ |
14 | && $(cmake-utilsBLAABLAA_enable ENABLE_GUI) |
Subject | Author |
---|---|
[gentoo-devhelp] Re: How do I check for several USE flags in cmake-utils_use? | Nikos Chantziaras <realnc@×××××.com> |