From 8f029e609699fee5d97ee208a3a06d47e06b3b4d Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Wed, 29 Dec 2021 10:51:30 +0100 Subject: [PATCH] Fix Visual Studio command line error D9025 https://stackoverflow.com/a/58711983/1164966 --- CMakeLists.txt | 2 +- appveyor.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a01e73d3..a2f25eb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # Copyright Benoit Blanchon 2014-2021 # MIT License -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.15) if(ESP_PLATFORM) # Build ArduinoJson as an ESP-IDF component diff --git a/appveyor.yml b/appveyor.yml index edabdf00..38ec08a3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,8 +9,7 @@ environment: CMAKE_GENERATOR: Visual Studio 15 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 CMAKE_GENERATOR: Visual Studio 14 2015 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - CMAKE_GENERATOR: Visual Studio 12 2013 + - CMAKE_GENERATOR: Visual Studio 12 2013 - CMAKE_GENERATOR: Visual Studio 11 2012 - CMAKE_GENERATOR: Visual Studio 10 2010 - CMAKE_GENERATOR: MinGW Makefiles