From 690ded8485764406db27617641163b6ef694785c Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Wed, 17 May 2023 02:31:27 +0800 Subject: [PATCH] Add -DCLI_CMAKE_FALLBACK_OS in CMakeSettings.json (#86261) --- src/coreclr/CMakeSettings.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/coreclr/CMakeSettings.json b/src/coreclr/CMakeSettings.json index 10c8ff4..dc56983 100644 --- a/src/coreclr/CMakeSettings.json +++ b/src/coreclr/CMakeSettings.json @@ -12,7 +12,7 @@ "configurationType": "Debug", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x64", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x64 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64" ] @@ -23,7 +23,7 @@ "configurationType": "Release", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x64", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x64 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64" ] @@ -34,7 +34,7 @@ "configurationType": "Debug", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x86", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x86 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x86" ] @@ -45,7 +45,7 @@ "configurationType": "Release", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x86", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=x86 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x86" ] @@ -56,7 +56,7 @@ "configurationType": "Debug", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=arm64", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=arm64 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_arm64" ], @@ -68,7 +68,7 @@ "configurationType": "Release", "buildRoot": "${env.artifactsObj}\\${name}", "installRoot": "${env.artifactsBin}\\${name}", - "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=arm64", + "cmakeCommandArgs": "-DCLR_CMAKE_HOST_ARCH=arm64 -DCLI_CMAKE_FALLBACK_OS=win", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_arm64" ], -- 2.7.4