aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-05-27 15:52:29 +1000
committerfuzzard <fuzzard@kodi.tv>2022-06-01 19:10:35 +1000
commit32fdeb8e5c68376826601f22f43ac779b8a7523a (patch)
tree8be88ccba1670955007b57d375a564cd88a7fdff /CMakeLists.txt
parent563d5502418403a4e12d36f4c4700d1f92057a8e (diff)
[cmake] Windows increase minimum required cmake version 3.20
Generator expressions for Multi-config generators (ie VS projects) require cmake 3.20.0 as a minimum. VS 2017 comes with version 3.20.21032501-MSVC_2 bundled.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 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)