Browse Source

Change how the static link happens, to no effect

master
Macoy Madson 5 months ago
parent
commit
0aa40a6cb5
  1. 6
      src/FreeType.cake

6
src/FreeType.cake

@ -83,8 +83,6 @@
('Windows
(var freetype-expect-file (* (const char)) "Dependencies/FreeType/objs/x64/Release Static/freetype.lib")
;; Add dependency
(call-on push_back (field manager environment additionalStaticLinkObjects)
"\"Dependencies/FreeType/objs/x64/Release Static/freetype.lib\"")
(when (fileExists freetype-expect-file)
(return true))
@ -178,6 +176,10 @@
(return true))
(add-compile-time-hook-module pre-build build-freetype)
(comptime-cond
('Windows
(add-static-link-objects #"#"Dependencies/FreeType/objs/x64/Release Static/freetype.lib"#"#)))
(export-and-evaluate
(comptime-cond
('Windows

Loading…
Cancel
Save