From: Andreas Sturmlechner Date: Sat, 30 Jun 2018 20:22:57 +0000 (+0200) Subject: app-text/poppler: Fix cmake warning X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=df9add78592074a5cd727447cff7cbb7e57b4de1;p=gentoo.git app-text/poppler: Fix cmake warning Closes: https://bugs.gentoo.org/659146 Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- diff --git a/app-text/poppler/poppler-0.66.0.ebuild b/app-text/poppler/poppler-0.66.0.ebuild index 5d2ce10f9354..893cc9f7e682 100644 --- a/app-text/poppler/poppler-0.66.0.ebuild +++ b/app-text/poppler/poppler-0.66.0.ebuild @@ -99,7 +99,6 @@ src_configure() { -DWITH_Cairo=$(usex cairo) -DENABLE_LIBCURL=$(usex curl) -DENABLE_CPP=$(usex cxx) - -DWITH_GObjectIntrospection=$(usex introspection) -DWITH_JPEG=$(usex jpeg) -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) @@ -110,6 +109,7 @@ src_configure() { -DWITH_TIFF=$(usex tiff) -DENABLE_UTILS=$(usex utils) ) + use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) ) cmake-utils_src_configure } diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild index 5d2ce10f9354..893cc9f7e682 100644 --- a/app-text/poppler/poppler-9999.ebuild +++ b/app-text/poppler/poppler-9999.ebuild @@ -99,7 +99,6 @@ src_configure() { -DWITH_Cairo=$(usex cairo) -DENABLE_LIBCURL=$(usex curl) -DENABLE_CPP=$(usex cxx) - -DWITH_GObjectIntrospection=$(usex introspection) -DWITH_JPEG=$(usex jpeg) -DENABLE_DCTDECODER=$(usex jpeg libjpeg none) -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none) @@ -110,6 +109,7 @@ src_configure() { -DWITH_TIFF=$(usex tiff) -DENABLE_UTILS=$(usex utils) ) + use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) ) cmake-utils_src_configure }