[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 56d182a74: [cmake] Fix build on MacOS.
From: |
Werner Lemberg |
Subject: |
[freetype2] master 56d182a74: [cmake] Fix build on MacOS. |
Date: |
Wed, 2 Feb 2022 12:16:20 -0500 (EST) |
branch: master
commit 56d182a74d90cde8753d5ec28d37f748f909c729
Author: Eric Jing <@CPUcontrol>
Commit: Werner Lemberg <wl@gnu.org>
[cmake] Fix build on MacOS.
* CMakeLists.txt (CMAKE_OSX_ARCHITECTURES): Update value to fix the building
of a framework on MacOS.
* builds/mac/freetype-Info.plist (CFBundleExecutable): Make identifier
lowercase only.
Fixes #1127.
---
CMakeLists.txt | 2 +-
builds/mac/freetype-Info.plist | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8cb778396..85babddbe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -240,7 +240,7 @@ if (BUILD_FRAMEWORK)
message(FATAL_ERROR
"You should use Xcode generator with BUILD_FRAMEWORK enabled")
endif ()
- set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_64_BIT)")
+ set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)")
set(BUILD_SHARED_LIBS ON)
endif ()
diff --git a/builds/mac/freetype-Info.plist b/builds/mac/freetype-Info.plist
index 4b5d79b81..344e5ac0b 100644
--- a/builds/mac/freetype-Info.plist
+++ b/builds/mac/freetype-Info.plist
@@ -9,7 +9,7 @@
<string>English</string>
<key>CFBundleExecutable</key>
- <string>FreeType</string>
+ <string>freetype</string>
<key>CFBundleGetInfoString</key>
<string>FreeType ${PROJECT_VERSION}</string>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 56d182a74: [cmake] Fix build on MacOS.,
Werner Lemberg <=