diff --git a/premake4.lua b/premake4.lua index ffb8f2431..f44926166 100644 --- a/premake4.lua +++ b/premake4.lua @@ -1184,6 +1184,9 @@ solution "eepp" set_kind() language "C++" files { "src/tools/eterm/**.cpp" } + if os.is("linux") then + links { "util" } + end build_link_configuration( "eterm", true ) project "eepp-texturepacker" diff --git a/premake5.lua b/premake5.lua index a92432129..4e1559aeb 100644 --- a/premake5.lua +++ b/premake5.lua @@ -927,6 +927,8 @@ workspace "eepp" set_kind() language "C++" files { "src/tools/eterm/**.cpp" } + filter "system:linux" + links { "util" } build_link_configuration( "eterm", true ) project "eepp-texturepacker"