Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 040c711

Browse files
authored
Upgrade to CMake 3.21 (#63)
1 parent 709d89e commit 040c711

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required (VERSION 3.20)
4+
cmake_minimum_required (VERSION 3.21)
55

66
set(FX_VERSION 11.30)
77

CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2,
2+
"version": 3,
33
"configurePresets": [
44
{
55
"name": "base",
@@ -8,7 +8,7 @@
88
"generator": "Ninja",
99
"hidden": true,
1010
"binaryDir": "${sourceDir}/out/build/${presetName}",
11-
"cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" }
11+
"installDir": "${sourceDir}/out/install/${presetName}"
1212
},
1313

1414
{

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ FOR SECURITY ADVISORIES, see [GitHub](https://github.com/microsoft/FX11/security
4444

4545
For a full change history, see [CHANGELOG.md](https://github.com/microsoft/FX11/blob/main/CHANGELOG.md).
4646

47+
* 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.
48+
4749
* 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.
4850

4951
## Support

0 commit comments

Comments
 (0)