kde-frameworks/extra-cmake-modules: Add BUILD_TESTING cmakearg
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 11 Nov 2019 07:29:25 +0000 (08:29 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 11 Nov 2019 09:33:56 +0000 (10:33 +0100)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild

index 7baf6aa4ba42ba02954a7a3318dcb2fc2e96a16d..fc744aa15d81bf8e1d0210465747d826d0a3181d 100644 (file)
@@ -50,10 +50,11 @@ src_prepare() {
 
 src_configure() {
        local mycmakeargs=(
+               -DDOC_INSTALL_DIR=/usr/share/doc/"${PF}"
                -DBUILD_QTHELP_DOCS=$(usex doc)
                -DBUILD_HTML_DOCS=$(usex doc)
                -DBUILD_MAN_DOCS=$(usex doc)
-               -DDOC_INSTALL_DIR=/usr/share/doc/"${PF}"
+               -DBUILD_TESTING=$(usex test)
        )
 
        cmake-utils_src_configure