From d80972f46ad57fbb6874a75c4cf5c4cdfe606c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sat, 24 Aug 2013 20:34:24 -0300 Subject: [PATCH] Small change --- premake4.lua | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/premake4.lua b/premake4.lua index c60ee4701..cf355d282 100644 --- a/premake4.lua +++ b/premake4.lua @@ -252,22 +252,9 @@ function build_link_configuration( package_name, use_ee_icon ) links { link_list } end - if ( is_vs() ) then - if ( backend_is("SDL") ) then - links { get_backend_link_name( "SDL" ), "SDLmain" } - elseif ( backend_is("SDL2") ) then - links { get_backend_link_name( "SDL2" ), "SDL2main" } - elseif ( backend_is("SFML") ) then - links { get_backend_link_name( "sfml-system" ) } - links { get_backend_link_name( "sfml-window" ) } - end - else - if os.is_real("macosx") or os.is("windows") then - if os.is("windows") and not is_vs() then - if ( true == use_ee_icon ) then - linkoptions { "../../assets/icon/ee.res" } - end - end + if os.is("windows") and not is_vs() then + if ( true == use_ee_icon ) then + linkoptions { "../../assets/icon/ee.res" } end end end