Commit 675e916
committed
Fix Freetype mess, MinGW native gamelogic build
06453a8 does a regression of finding
Freetype (and populating the variables) only if "NOT BUILD_CLIENT".
We always need to find and set it regardless of what happened in
Daemon's CMakeLists! It still worked sometimes because rmlui.cmake had a
duplicate call to find_package(Freetype). But rmlui.cmake does not link
zlib which is supposed to be a dependency of the external_deps Freetype
builds used on Windows and Mac.
Note: with some toolchains the build can succeed even if the zlib
dependency is not provided. This happens with Visual Studio and I've
seen it on Mac too. I think it must depend on whether the linker removes
unused symbols or resolves dependencies first. For MinGW you actually
have to link zlib to build.1 parent d1e31f3 commit 675e916
2 files changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
112 | 107 | | |
113 | | - | |
114 | 108 | | |
115 | 109 | | |
116 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | 569 | | |
576 | 570 | | |
577 | 571 | | |
| |||
0 commit comments