Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] How do I check for several USE flags in cmake-utils_use?
Date: Thu, 28 Jan 2016 04:35:23
Message-Id: n8c5pu$cqc$1@ger.gmane.org
1 What I need is set -DENABLE_GUI=ON when either the qt4 or the qt5 USE
2 flag is enabled. But this doesn't work:
3
4 $(cmake-utils_use qt4 qt5 ENABLE_GUI)
5
6 How do I do this? I grep'ed the tree to find an example, but I can't
7 find one that uses two USE flags.

Replies