shithub: freetype+ttf2subf

Download patch

ref: 89d5cce58de0ddb6c380272cbf13ba6da0f852ff
parent: 695d606ae5c86fef8e1207a859fb3fd0cee5a27f
author: Eric Jing <@CPUcontrol>
date: Fri Apr 1 04:52:31 EDT 2022

CMakeLists.txt: Fix `Info.plist` path.

When building a framework using CMake with `add_subdirectory`, CMake must be
able to find `freetype-Info.plist` when configuring the framework
properties.

Fixes #1145.

git/fs: mount .git/fs: mount/attach disallowed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -491,7 +491,7 @@
   )
   set_target_properties(freetype PROPERTIES
     FRAMEWORK TRUE
-    MACOSX_FRAMEWORK_INFO_PLIST builds/mac/freetype-Info.plist
+    MACOSX_FRAMEWORK_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/builds/mac/freetype-Info.plist
     PUBLIC_HEADER "${PUBLIC_HEADERS}"
     XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
   )