mgba: fix build with cmake4

This commit is contained in:
Sunny
2025-10-08 15:42:04 +05:30
committed by Vladimír Čunát
parent 2b6e272f5f
commit 41f7858f55

View File

@@ -71,6 +71,8 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ]; ++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
cmakeFlags = [ cmakeFlags = [
# TODO: drop in the next version bump
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
(lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc) (lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc)
]; ];