curseofwar-sdl: set mainProgram

authored by Sergei Trofimovich and committed by Francesco Gazzetta bf3495ea ccd60fa3

+1
+1
pkgs/games/curseofwar/default.nix
··· 32 description = "Fast-paced action strategy game"; 33 homepage = "https://a-nikolaev.github.io/curseofwar/"; 34 license = licenses.gpl3; 35 maintainers = with maintainers; [ fgaz ]; 36 platforms = platforms.all; 37 };
··· 32 description = "Fast-paced action strategy game"; 33 homepage = "https://a-nikolaev.github.io/curseofwar/"; 34 license = licenses.gpl3; 35 + mainProgram = if SDL != null then "curseofwar-sdl" else "curseofwar"; 36 maintainers = with maintainers; [ fgaz ]; 37 platforms = platforms.all; 38 };