diff --git a/tools/utils/PlatformSetup.hx b/tools/utils/PlatformSetup.hx index f44d973f9..f4a03274a 100644 --- a/tools/utils/PlatformSetup.hx +++ b/tools/utils/PlatformSetup.hx @@ -1654,7 +1654,7 @@ class PlatformSetup { public static function setupLime ():Void { - if (!targetFlags.exists ("cli")) { + if (!targetFlags.exists ("alias") && !targetFlags.exists ("cli")) { setupHaxelib (new Haxelib ("lime")); @@ -1852,7 +1852,7 @@ class PlatformSetup { public static function setupOpenFL ():Void { - if (!targetFlags.exists ("cli")) { + if (!targetFlags.exists ("alias") && !targetFlags.exists ("cli")) { setupHaxelib (new Haxelib ("openfl"));