CMake Info.plist path incorrect when adding project as subdirectory
When building a framework using CMake with add_subdirectory, CMake is unable to find freetype-Info.plist when configuring the framework properties. Here is the patch for the fix:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d6e16a71..5e3345da4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -491,7 +491,7 @@ if (BUILD_FRAMEWORK)
)
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"
)