mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
x11-themes/qtcurve: Fix unused CMake var warning
Also disable finding Git while at it Closes: https://bugs.gentoo.org/979038 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -70,6 +70,7 @@ PATCHES=(
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
|
||||
-DENABLE_QT4=OFF
|
||||
-DENABLE_QT5=OFF
|
||||
-DQTC_QT4_ENABLE_KDE=OFF
|
||||
@@ -77,11 +78,13 @@ src_configure() {
|
||||
-DENABLE_GTK2=$(usex gtk)
|
||||
-DQTC_INSTALL_PO=$(usex plasma)
|
||||
-DENABLE_QT6=$(usex qt6)
|
||||
-DQTC_QT6_ENABLE_KDE=$(usex plasma)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
-DQTC_ENABLE_X11=$(usex X)
|
||||
)
|
||||
use plasma && mycmakeargs+=( -DQT_MAJOR_VERSION=6 )
|
||||
use plasma && mycmakeargs+=(
|
||||
-DQT_MAJOR_VERSION=6
|
||||
-DQTC_QT6_ENABLE_KDE=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user