Commit d4ec7a6
Bump CMake requirement to 3.29 (#12556)
### Summary
Update the CMake version requirement to 3.29. This is in response to
XNNPACK implicitly requiring it.
Note that it should be sufficient to update the dependency only at the
top-level CMake (as opposed to all of the separate locations where the
version in specified).
Fixes #12524. See the issue
for more context.
### Test plan
I've built locally to verify that it builds correctly. CI will also help
validate. I also attempted to build with an older CMake version (3.28),
and observed the following error:
```
CMake Error at CMakeLists.txt:50 (cmake_minimum_required):
CMake 3.29 or higher is required. You are running version 3.28.0
```
Previously, it would error out with:
```
CMake Error at CMakeLists.txt:18 (CMAKE_POLICY):
Policy "CMP0156" is not known to this version of CMake.
```
(cherry picked from commit a1b35e8)1 parent a9f23c5 commit d4ec7a6
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments