1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed GUI Application setting on non-Windows platform

This commit is contained in:
Brian Fiete 2020-05-04 15:06:05 -07:00
parent 1f2632786c
commit 2cd37ef6c6

View file

@ -282,8 +282,9 @@ namespace IDE
linkLine.Append(" ");
}*/
if ((project.mGeneralOptions.mTargetType == Project.TargetType.BeefGUIApplication) ||
(project.mGeneralOptions.mTargetType == Project.TargetType.C_GUIApplication))
if ((mPlatformType == .Windows) &&
((project.mGeneralOptions.mTargetType == Project.TargetType.BeefGUIApplication) ||
(project.mGeneralOptions.mTargetType == Project.TargetType.C_GUIApplication)))
{
linkLine.Append("-mwindows ");
}