diff options
Diffstat (limited to 'dev-libs/grantlee/grantlee-9999.ebuild')
| -rw-r--r-- | dev-libs/grantlee/grantlee-9999.ebuild | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/dev-libs/grantlee/grantlee-9999.ebuild b/dev-libs/grantlee/grantlee-9999.ebuild index 54a6fd5423b..d28ac27fb35 100644 --- a/dev-libs/grantlee/grantlee-9999.ebuild +++ b/dev-libs/grantlee/grantlee-9999.ebuild @@ -13,7 +13,7 @@ EGIT_REPO_URI="git://gitorious.org/grantlee/grantlee.git" LICENSE="LGPL-2.1" KEYWORDS="" 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 -} |
