summaryrefslogtreecommitdiff
path: root/dev-libs/grantlee/grantlee-0.1.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/grantlee/grantlee-0.1.4.ebuild')
-rw-r--r--dev-libs/grantlee/grantlee-0.1.4.ebuild14
1 files changed, 2 insertions, 12 deletions
diff --git a/dev-libs/grantlee/grantlee-0.1.4.ebuild b/dev-libs/grantlee/grantlee-0.1.4.ebuild
index 8ed02d04ba7..a2c8ada1c0d 100644
--- a/dev-libs/grantlee/grantlee-0.1.4.ebuild
+++ b/dev-libs/grantlee/grantlee-0.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://downloads.grantlee.org/${P}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="debug doc"
+IUSE="debug doc test"
COMMON_DEPEND="
>=x11-libs/qt-core-4.5.0:4
@@ -29,7 +29,7 @@ DOCS=(AUTHORS CHANGELOG GOALS README)
src_configure() {
mycmakeargs=(
- -DBUILD_TESTS=OFF
+ $(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
@@ -46,13 +46,3 @@ src_install() {
cmake-utils_src_install
}
-
-src_test() {
- mycmakeargs+=(
- -DBUILD_TESTS=ON
- )
-
- cmake-utils_src_configure
- cmake-utils_src_compile
- cmake-utils_src_test
-}