diff options
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro b/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro index ad40b98753..54060e20ff 100644 --- a/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro +++ b/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro @@ -164,7 +164,7 @@ contains(SHAPERS, opentype) { $$PWD/src/hb-ot-var.h } -contains(SHAPERS, coretext) { +darwin { DEFINES += HAVE_CORETEXT SOURCES += \ @@ -173,13 +173,14 @@ contains(SHAPERS, coretext) { HEADERS += \ $$PWD/src/hb-coretext.h - uikit: \ + uikit { # On iOS/tvOS/watchOS CoreText and CoreGraphics are stand-alone frameworks LIBS_PRIVATE += -framework CoreText -framework CoreGraphics - else: \ + } else { # On Mac OS they are part of the ApplicationServices umbrella framework, # even in 10.8 where they were also made available stand-alone. LIBS_PRIVATE += -framework ApplicationServices + } CONFIG += watchos_coretext } |