diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-11-26 22:48:31 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-11-27 10:50:32 +0100 |
commit | a50846ef43f1c3862bcb49f5185fd468c65215bc (patch) | |
tree | b32137f783fa238ea633e1fc030857f4fb50fe2a /tests | |
parent | 8f520cc03554351757548abce555bce12065848c (diff) |
Cope with implicitly disabled installer component
This can happen, if the Qt we are building against has no support
for SSL.
Change-Id: I3368d30032989cc724ddf0cbbcb5015fb43c7522
Pick-to: 6.6 6.5 6.2
Fixes: QTBUG-119476
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index aacd4094..f4b5442a 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -1,4 +1,9 @@ +if (NOT QT_FEATURE_am_installer) + message(WARNING "QT_FEATURE_am_installer is disabled, skipping all auto tests") + return() +endif() + add_subdirectory(application) add_subdirectory(applicationinfo) add_subdirectory(applicationinstaller) |