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.
This commit is contained in:
Eric Jing 2022-04-01 08:52:31 +02:00 committed by Werner Lemberg
parent 695d606ae5
commit 89d5cce58d
1 changed files with 1 additions and 1 deletions

View File

@ -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"
)