summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_windows_common.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-16 12:46:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-16 16:03:30 (GMT)
commit840fa28d3d308828ebc3516e436f2f9c7ee5bfa1 (patch)
tree21fde848ad89eaf3a7fc3ca1d8e29d7cfc6bbdfb /.gitlab/ci/configure_windows_common.cmake
parentcee2d5b1e2519a7c72d5c2ffef2f8ca1415caff2 (diff)
downloadCMake-840fa28d3d308828ebc3516e436f2f9c7ee5bfa1.zip
CMake-840fa28d3d308828ebc3516e436f2f9c7ee5bfa1.tar.gz
CMake-840fa28d3d308828ebc3516e436f2f9c7ee5bfa1.tar.bz2
ci: Explicitly disable Java tests on Windows
Avoid searching for a Java installation on Windows hosts. This will allow some CI hosts to have Java for other projects. We already do this on macOS. While at it, clarify the macOS setting.
Diffstat (limited to '.gitlab/ci/configure_windows_common.cmake')
-rw-r--r--.gitlab/ci/configure_windows_common.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_windows_common.cmake b/.gitlab/ci/configure_windows_common.cmake
index 45250ac..112846a 100644
--- a/.gitlab/ci/configure_windows_common.cmake
+++ b/.gitlab/ci/configure_windows_common.cmake
@@ -1,4 +1,5 @@
set(BUILD_QtDialog ON CACHE BOOL "")
set(CMAKE_PREFIX_PATH "$ENV{CI_PROJECT_DIR}/.gitlab/qt" CACHE STRING "")
+set(CMake_TEST_Java OFF CACHE BOOL "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")