summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-26 13:25:41 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-26 13:29:37 (GMT)
commit2c140ac7b1eafb61a9e74ac8da7f13b69e473507 (patch)
tree6eeb495675bd52cbb1984f0b5606ab33728b88e8 /.gitlab
parentbcd98b5f9846d7b9d2a6518501eb7ac56139665e (diff)
downloadCMake-2c140ac7b1eafb61a9e74ac8da7f13b69e473507.zip
CMake-2c140ac7b1eafb61a9e74ac8da7f13b69e473507.tar.gz
CMake-2c140ac7b1eafb61a9e74ac8da7f13b69e473507.tar.bz2
ci: Avoid finding Python via Windows Registry
Since commit 313ea361b0 (CMake: Use FindPython instead of FindPythonInterp to build CMake itself, 2022-04-21), CI jobs on some Windows hosts have been finding Python via the Windows Registry. Explicitly disable the registry search so that the CI jobs find the Python that we download and put in the PATH inside the job.
Diffstat (limited to '.gitlab')
-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 a70d165..7467cfd 100644
--- a/.gitlab/ci/configure_windows_common.cmake
+++ b/.gitlab/ci/configure_windows_common.cmake
@@ -2,5 +2,6 @@ set(BUILD_QtDialog ON CACHE BOOL "")
set(BUILD_CursesDialog ON CACHE BOOL "")
set(CMAKE_PREFIX_PATH "$ENV{CI_PROJECT_DIR}/.gitlab/qt" CACHE STRING "")
set(CMake_TEST_Java OFF CACHE BOOL "")
+set(Python_FIND_REGISTRY NEVER CACHE STRING "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")