Unverified Commit 31debee9 authored by Christoph Hollizeck's avatar Christoph Hollizeck
Browse files

qgnomeplatform: CMake4 fix

parent 723578b7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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"