diff --git a/CMakeLists.txt b/CMakeLists.txt index ba2171be7e..6266a69f40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/README.md b/README.md index 8134e0de2e..3c7b13f672 100644 --- a/README.md +++ b/README.md @@ -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.