Skip to content

Commit 3c06afb

Browse files
authored
Update required CMake version to 3.17.2 (#5418)
The SPIR-V-Tools project requires 3.17.2. To simplify our project dependencies we should just require that everywhere. 3.17.2 was released in May 2020, so it is now over three years old. Fixes #2616.
1 parent 60bb2c1 commit 3c06afb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See docs/CMake.html for instructions about how to build LLVM with CMake.
2-
cmake_minimum_required(VERSION 3.10) # HLSL Change - Require CMake 3.10.
2+
cmake_minimum_required(VERSION 3.17.2) # HLSL Change - Require CMake 3.17.2.
33

44
if (NOT "${DXC_CMAKE_BEGINS_INCLUDE}" STREQUAL "")
55
include(${DXC_CMAKE_BEGINS_INCLUDE})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Building DXC requires:
4747

4848
* [Git](http://git-scm.com/downloads).
4949
* [Python](https://www.python.org/downloads/) - version 3.x is required
50-
* [CMake](https://cmake.org/download/) - version >= 3.10
50+
* [CMake](https://cmake.org/download/) - version >= 3.17.2
5151
* The bundled version with Visual Studio works for Windows.
5252
* The C++ 14 compiler and runtime of your choosing.
5353
* DXC is known to compile with recent versions of GCC, Clang and MSVC.

0 commit comments

Comments
 (0)