aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEvgeny Grin <k2k@narod.ru>2021-02-20 15:55:48 +0300
committerEvgeny Grin <k2k@narod.ru>2021-02-20 15:55:48 +0300
commit2a82705294ab414ec9027e4be768ecf52f376ab2 (patch)
tree3ebd559326c459de0203e408b7a661955c8238ac /CMakeLists.txt
parentf44fdfbf675f30c01e7639177a34544e6a6b9dad (diff)
CMake: fixed correct minimal CMake version for Win32
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e30083d2f9..572e99b481 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 3.4)
+if(WIN32)
+ # Version 3.15 is required to use "PREPEND" for dependencies
+ cmake_minimum_required(VERSION 3.15)
+endif()
project(kodi LANGUAGES CXX C ASM)
if(POLICY CMP0069)