aboutsummaryrefslogtreecommitdiff
path: root/ports/msdfgen/compatibility.patch
diff options
context:
space:
mode:
authorHaeri <Haeri@users.noreply.github.com>2021-01-17 04:33:51 +0100
committerGitHub <noreply@github.com>2021-01-16 19:33:51 -0800
commit083c86d05e3ade6f5cf4ad144542d0b708775772 (patch)
treebb586476badc3de14dfffc6a41310f8d0e35f8bc /ports/msdfgen/compatibility.patch
parentf89336d703bf3ffd2aa4f832f214b42a11c7d044 (diff)
downloadvcpkg-083c86d05e3ade6f5cf4ad144542d0b708775772.tar.gz
vcpkg-083c86d05e3ade6f5cf4ad144542d0b708775772.zip
[msdfgen] New port (#15427)
* initial * format * Update ports/msdfgen/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update ports/msdfgen/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * using vcpkg_copy_tools * Compromise between renameing and UWP * added feature "tools" * forgot a check * Update ports/msdfgen/portfile.cmake * Update port_versions * Add msdfgen.json in port_versions Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Diffstat (limited to 'ports/msdfgen/compatibility.patch')
-rw-r--r--ports/msdfgen/compatibility.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/msdfgen/compatibility.patch b/ports/msdfgen/compatibility.patch
new file mode 100644
index 000000000..f1662549a
--- /dev/null
+++ b/ports/msdfgen/compatibility.patch
@@ -0,0 +1,15 @@
+diff --git a/ext/import-font.cpp b/ext/import-font.cpp
+index 8f23620..ed26f54 100644
+--- a/ext/import-font.cpp
++++ b/ext/import-font.cpp
+@@ -7,10 +7,6 @@
+ #include FT_FREETYPE_H
+ #include FT_OUTLINE_H
+
+-#ifdef _WIN32
+- #pragma comment(lib, "freetype.lib")
+-#endif
+-
+ namespace msdfgen {
+
+ #define REQUIRE(cond) { if (!(cond)) return false; }