Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Pursche committed Oct 24, 2024
1 parent b421e90 commit 96fc7bf
Show file tree
Hide file tree
Showing 20 changed files with 16,012 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dependencies/freetype/freetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De

local rootDir = dep.Path .. "/freetype"
local sourceDir = rootDir .. "/src"
local buildsDir = rootDir .. "/builds"
local platformDir = rootDir .. "/platform"
local includeDir = rootDir .. "/include"

local defines = { "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS", "_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS", "_CRT_SECURE_NO_WARNINGS", "FT2_BUILD_LIBRARY" }
Expand Down Expand Up @@ -60,7 +60,7 @@ Solution.Util.CreateStaticLib(dep.Name, Solution.Projects.Current.BinDir, dep.De
if os.target() == "windows" then
local platformFiles =
{
buildsDir .. "/windows/ftdebug.c", -- TODO: Windows only
platformDir .. "/windows/ftdebug.c", -- TODO: Windows only
}
Solution.Util.MergeIntoTable(files, platformFiles)
Solution.Util.MergeIntoTable(defines, { "WIN32", "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN" } )
Expand Down
Loading

0 comments on commit 96fc7bf

Please sign in to comment.