diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-12-07 20:45:19 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2022-12-09 05:24:27 +0200 |
commit | fbca4eb673af316cc8a9eaf4bb4452befc6b13dc (patch) | |
tree | 399333792078f0c627cf8ea128c85c9f5ed36069 | |
parent | 7a4b89fb001bf48829db59d34a2d829394a0bbd6 (diff) | |
download | qtbase-fbca4eb673af316cc8a9eaf4bb4452befc6b13dc.tar.gz |
CMake: make QT_SKIP_DOCKER_COMPOSE more discoverable
By adding a CMake option() that is OFF by default.
Change-Id: Ic66cae5bb9739ae1db3e534f671cc1e9e4b09647
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | cmake/QtTestHelpers.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index b8b2485175..9ec9ec2e94 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -147,7 +147,9 @@ function(qt_internal_setup_docker_test_fixture name) if (NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") return() endif() - if (QT_SKIP_DOCKER_COMPOSE) + + option(QT_SKIP_DOCKER_COMPOSE "Skip setting up docker on Linux." OFF) + if(QT_SKIP_DOCKER_COMPOSE) return() endif() |