diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | docs/README.Windows.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8037c99679..2afa95cc98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12) if(WIN32) - # Version 3.15 is required to use "PREPEND" for dependencies - cmake_minimum_required(VERSION 3.15) + # Version 3.20 is required for multi-config generator expressions to work + cmake_minimum_required(VERSION 3.20) endif() project(kodi LANGUAGES CXX C ASM) diff --git a/docs/README.Windows.md b/docs/README.Windows.md index fd6c713c36..d07cac4e43 100644 --- a/docs/README.Windows.md +++ b/docs/README.Windows.md @@ -46,7 +46,7 @@ Several different strategies are used to draw your attention to certain pieces o ## 2. Prerequisites To build Kodi: -* **[CMake](https://cmake.org/download/)** (version 3.15 or greater is required to build with Visual Studio 2019, version 3.21 or greater to build with Visual Studio 2022) +* **[CMake](https://cmake.org/download/)** (version 3.20 or greater is required to build Kodi, version 3.21 or greater to build with Visual Studio 2022) * **[Git for Windows](https://gitforwindows.org/)** * **[Java Runtime Environment (JRE)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)** * **[Nullsoft scriptable install system (NSIS)](http://nsis.sourceforge.net/Download)** (Only needed if you want to generate an installer file) |