From e3c34ac7598b705ef91aa0b0f0466abd263fe8ac Mon Sep 17 00:00:00 2001
From: Linda Lapinlampi <linda@lindalap.fi>
Date: Tue, 10 Aug 2021 09:59:06 +0000
Subject: [PATCH 2/2] core: Bump minimum CMake version to 3.5

AUTOUIC was introduced in CMake 3.0. The previous minimum required
version 2.8.12 is too old and probably wouldn't work.

At this time I'm not immediately sure what requires CMake 3.5, but the
other CMake files and recent commits are defining that as our minimum.

See: #3824
Fixup: d6ec9cc
---
 src/core/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index d882cdf0..6b00c39c 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -18,7 +18,7 @@
 #-------------------------------------------------------------------------------
 # Copyright (C) 2011 Braden "Blzut3" Obrzut <admin@maniacsvault.net>
 #-------------------------------------------------------------------------------
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5...3.21)
 
 # Regarding Microsoft Visual Studio:
 # Creating proper builds with MSVC required setting subsystem to windows,
-- 
2.32.0.rc2

