mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-13 18:49:38 -06:00
Merge topic 'ci-test-apple-silicon' into release-4.0
a44a2d2579 ci: Explicitly enable or disable RunCMake.AppleSilicon test in macos jobs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10454
This commit is contained in:
@@ -16,3 +16,9 @@ set(BUILD_QtDialog ON CACHE BOOL "")
|
||||
# when CMake itself is configured. Use a version that is not
|
||||
# newer than the macOS version running on any CI host.
|
||||
set(CMake_TEST_XCTest_DEPLOYMENT_TARGET "10.15" CACHE STRING "")
|
||||
|
||||
if("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos_arm64")
|
||||
set(CMake_TEST_APPLE_SILICON ON CACHE BOOL "")
|
||||
else()
|
||||
set(CMake_TEST_APPLE_SILICON OFF CACHE BOOL "")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user