summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2022-09-27 12:28:39 +0200
committerJan Grulich <jgrulich@redhat.com>2022-09-27 14:03:35 +0200
commit491dc83bbf87e0636fea9875e4ef0cf305b92e20 (patch)
treefc8a5c63a851889ef7714727c84d95c2ddcd7f8a /configure.cmake
parent6b6aeef217aa309a6f13888ae7286d8b31e1c71e (diff)
QCryptographicHash: only use OpenSSL 3.0 when OpenSSL will be linked
OpenSSL by default doesn't provide static libraries and we would fail to build it in such case. Fixes: QTBUG-106978 Change-Id: I456fe9bec2bbef5003de8f6cb7d9d8bb226821f9 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index 30b99d4998..91a3df5f33 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -1062,7 +1062,7 @@ qt_feature("openssl-runtime"
ENABLE INPUT_openssl STREQUAL 'yes' OR INPUT_openssl STREQUAL 'runtime'
DISABLE INPUT_openssl STREQUAL 'no' OR INPUT_openssl STREQUAL 'linked' OR INPUT_ssl STREQUAL 'no'
)
-qt_feature("openssl-linked" PRIVATE
+qt_feature("openssl-linked" PUBLIC
LABEL " Qt directly linked to OpenSSL"
AUTODETECT OFF
CONDITION TEST_opensslv11 OR TEST_opensslv30