commit:     c7b28f9fb107aa8823501cb25c93cdc05ba5b599
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 19:18:15 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 22:29:08 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=c7b28f9f

kde-frameworks/extra-cmake-modules: Fix cmake warning

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild 
b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
index bbf1699f1b..aa4cb7d3f0 100644
--- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
@@ -41,11 +41,11 @@ pkg_setup() {
 
 src_configure() {
        local mycmakeargs=(
-               -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON
                -DBUILD_HTML_DOCS="$(usex doc)"
                -DBUILD_MAN_DOCS="$(usex doc)"
                -DDOC_INSTALL_DIR="/usr/share/doc/${PF}"
        )
+       use test && mycmakeargs+=( 
-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON )
 
        cmake-utils_src_configure
 }

Reply via email to