mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
ci: disable java detection
This commit is contained in:
9
.gitlab/ci/configure_macos_common.cmake
Normal file
9
.gitlab/ci/configure_macos_common.cmake
Normal file
@@ -0,0 +1,9 @@
|
||||
# Our CI machines do not consistently have Java installed, so a build may
|
||||
# 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(Java_JAVA_EXECUTABLE "" CACHE FILEPATH "")
|
||||
set(Java_JAVAC_EXECUTABLE "" CACHE FILEPATH "")
|
||||
set(Java_JAR_EXECUTABLE "" CACHE FILEPATH "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
|
||||
@@ -1 +1 @@
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake")
|
||||
|
||||
@@ -1 +1 @@
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake")
|
||||
|
||||
Reference in New Issue
Block a user