Skip to content

Commit

Permalink
Attempt linux build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pursche committed Oct 24, 2024
1 parent 3bd8fd7 commit d04933b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dependencies/freetype/freetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De
if os.target() == "windows" then
local platformFiles =
{
platformDir .. "/windows/ftdebug.c", -- TODO: Windows only
platformDir .. "/windows/ftdebug.c",
}
Solution.Util.MergeIntoTable(files, platformFiles)
Solution.Util.MergeIntoTable(defines, { "WIN32", "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN" } )
else
-- TODO Linux
local platformFiles =
{
sourceDir .. "/base/ftdebug.c",
}
Solution.Util.MergeIntoTable(files, platformFiles)
end

warnings "Off"
Expand Down

0 comments on commit d04933b

Please sign in to comment.