Skip to content

Commit

Permalink
Update required CMake version to 3.17.2 (microsoft#5418)
Browse files Browse the repository at this point in the history
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 microsoft#2616.
  • Loading branch information
llvm-beanz authored Jul 25, 2023
1 parent 60bb2c1 commit 3c06afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See docs/CMake.html for instructions about how to build LLVM with CMake.
cmake_minimum_required(VERSION 3.10) # HLSL Change - Require CMake 3.10.
cmake_minimum_required(VERSION 3.17.2) # HLSL Change - Require CMake 3.17.2.

if (NOT "${DXC_CMAKE_BEGINS_INCLUDE}" STREQUAL "")
include(${DXC_CMAKE_BEGINS_INCLUDE})
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Building DXC requires:

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

0 comments on commit 3c06afb

Please sign in to comment.