Unverified Commit 41f7858f authored by Sunny's avatar Sunny Committed by Vladimír Čunát
Browse files

mgba: fix build with cmake4

parent 2b6e272f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ stdenv.mkDerivation (finalAttrs: {
  ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];

  cmakeFlags = [
    # TODO: drop in the next version bump
    (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
    (lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc)
  ];