Skip to content

Commit 52b5bb4

Browse files
authored
This commit increases the minimum CMake version from 3.20 to 3.25. (shader-slang#4193)
I was trying to see if I can lower it to 3.16, but I found that we are currently using CMake feature that requires a version 3.25 not 3.20. This finding is not new. I made a similar change to CMakePresets.json a few days ago. At that time, I didn't realize that the same change had to be made for CMakeList.txt as well.
1 parent e913cb9 commit 52b5bb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.20)
1+
cmake_minimum_required(VERSION 3.25)
22

33
# Our module dir, include that now so that we can get the version automatically
44
# from git describe

CONTRIBUTION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Install CMake and Ninja.
9494
```
9595
$ sudo apt-get install cmake ninja-build
9696
```
97-
> Warning: Currently the required CMake version is 3.20 or above.
97+
> Warning: Currently the required CMake version is 3.25 or above.
9898
9999
Run CMake with a following command to generate Makefile:
100100
```

0 commit comments

Comments
 (0)