summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaan Leijen <daan@microsoft.com>2022-04-14 16:47:43 -0700
committerDaan Leijen <daan@microsoft.com>2022-04-14 16:47:43 -0700
commit8d6a9df7521181afc276d94b3a6ef2a9dd60bd06 (patch)
treec10440550d756f247709c45889fb120cf3e77c36
parent45044da1013f5663b01e5f4a34fd47dfbfe4b6dc (diff)
update windows pipeline to 2022
-rw-r--r--CMakeLists.txt2
-rw-r--r--azure-pipelines.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a997aae..b702300 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,7 +73,7 @@ endif()
# Process options
# -----------------------------------------------------------------------------
-if(CMAKE_C_COMPILER_ID MATCHES "Intel")
+if(CMAKE_C_COMPILER_ID MATCHES "MSVC|Intel")
set(MI_USE_CXX "ON")
endif()
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cfaf187..6e99c9d 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -18,7 +18,7 @@ jobs:
displayName: Windows
pool:
vmImage:
- windows-2019
+ windows-2022
strategy:
matrix:
Debug: