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>
This commit is contained in:
parent
7a4b89fb00
commit
fbca4eb673
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user