diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-08-30 15:03:50 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-08-30 13:21:32 +0000 |
commit | 8da530510236061968e46c11f5d266ecb6f68286 (patch) | |
tree | b27d07f63b0d8cf5865cb2a392044e3c222b953b /src/gui/configure.cmake | |
parent | 4670e0a1fddc8c249b43f5fd680fdb84a3cdbca1 (diff) |
Fix Harfbuzz detection
We use
qt_find_package(harfbuzz PROVIDED_TARGETS harfbuzz::harfbuzz)
which would set harfbuzz_FOUND. Since variable names are case-sensitive,
this is also the name we must check for in the qt feature condition.
Change-Id: I43420489c3310bc9c3e5cc798a005c8d5b0ab646
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/configure.cmake')
-rw-r--r-- | src/gui/configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index b08320d69f..ea35cb6887 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -566,7 +566,7 @@ qt_feature("fontconfig" PUBLIC PRIVATE qt_feature_definition("fontconfig" "QT_NO_FONTCONFIG" NEGATE VALUE "1") qt_feature("harfbuzz" PUBLIC PRIVATE LABEL "HarfBuzz" - CONDITION HARFBUZZ_FOUND + CONDITION harfbuzz_FOUND ) qt_feature_definition("harfbuzz" "QT_NO_HARFBUZZ" NEGATE VALUE "1") qt_feature("qqnx_imf" PRIVATE |