mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
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.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# detect that Java is available and working, but a test machine then not have a
|
||||
# working Java installed. To work around this, just act as if Java is not
|
||||
# available on any CI machine.
|
||||
set(CMake_TEST_Java 0 CACHE FILEPATH "")
|
||||
set(CMake_TEST_Java OFF CACHE BOOL "")
|
||||
|
||||
# Qt binaries get placed inside the source directory, which causes them to not
|
||||
# be included in the install-time rpath, but we still want them in the
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user