qgnomeplatform: CMake4 fix (#449396)

This commit is contained in:
Yohann Boniface
2025-10-12 17:13:09 +00:00
committed by GitHub

View File

@@ -62,6 +62,9 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DGLIB_SCHEMAS_DIR=${glib.getSchemaPath gsettings-desktop-schemas}"
"-DQT_PLUGINS_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
# Workaround CMake 4 compat
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.31")
]
++ lib.optionals useQt6 [
"-DUSE_QT6=true"