Skip to content

Commit

Permalink
CMake: add a way to skip trying to set up docker on Linux
Browse files Browse the repository at this point in the history
I keep getting this warning because docker-compose is not installed.

Change-Id: Id8e48e8f498c4a029619fffd172932bd86ed03ba
Reviewed-by: Jörg Bornemann <[email protected]>
  • Loading branch information
thiagomacieira committed Nov 28, 2022
1 parent 80847a0 commit 645cae1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/QtTestHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +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)
return()
endif()

set(QT_TEST_SERVER_LIST ${ARGN})
set(DNSDOMAIN test-net.qt.local)
Expand Down

0 comments on commit 645cae1

Please sign in to comment.