diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-11-27 14:50:22 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-11-27 23:26:59 +0100 |
commit | 5c386af006c777ec1e694286499d5121af10f78a (patch) | |
tree | 09e21e8001de74d9116166a771b36bfd20408d06 /tests | |
parent | 528407085ff26743a42a21a7b2bda4c333a3ccf4 (diff) |
Skip test package creation, if the installer component is disabled
Change-Id: I9c86c506df8fc8907537599f91c38d46c46efc66
Task-number: QTBUG-119476
Pick-to: 6.6 6.5 6.2
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/CMakeLists.txt b/tests/data/CMakeLists.txt index 521749b9..31b64799 100644 --- a/tests/data/CMakeLists.txt +++ b/tests/data/CMakeLists.txt @@ -1,4 +1,9 @@ +if (NOT QT_FEATURE_am_installer) + message(WARNING "QT_FEATURE_am_installer is disabled, cannot generate test packages") + return() +endif() + file(GLOB_RECURSE TEST_DATA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} certificates/* |