diff --git a/CMakeLists.txt b/CMakeLists.txt index adea0ba..2a25c3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. -cmake_minimum_required (VERSION 3.20) +cmake_minimum_required (VERSION 3.21) set(FX_VERSION 11.30) diff --git a/CMakePresets.json b/CMakePresets.json index 29a105e..23ecf69 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -1,5 +1,5 @@ { - "version": 2, + "version": 3, "configurePresets": [ { "name": "base", @@ -8,7 +8,7 @@ "generator": "Ninja", "hidden": true, "binaryDir": "${sourceDir}/out/build/${presetName}", - "cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" } + "installDir": "${sourceDir}/out/install/${presetName}" }, { diff --git a/README.md b/README.md index 0a6a9e2..a0ed495 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ FOR SECURITY ADVISORIES, see [GitHub](https://github.com/microsoft/FX11/security For a full change history, see [CHANGELOG.md](https://github.com/microsoft/FX11/blob/main/CHANGELOG.md). +* The CMake projects require 3.21 or later. VS 2019 users will need to install a standalone version of CMake 3.21 or later and add it to their PATH. + * The library can be built with Visual C++ or with clang/LLVM for Windows. The code is not conformant enough to support the GNUC (MinGW) compiler. ## Support