From 6f021d483093a51e736d38e12491fbe5a70d302c Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 15 Nov 2023 21:30:12 +0100 Subject: CMake: Raise cmake_minimum_required from 3.12 to 3.15 Remove code that checks CMake versions lower than 3.15 --- CMake/setup.cmake | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'CMake/setup.cmake') diff --git a/CMake/setup.cmake b/CMake/setup.cmake index 1ff5585ce..7dd91ebd4 100644 --- a/CMake/setup.cmake +++ b/CMake/setup.cmake @@ -82,11 +82,9 @@ include(TestBigEndian) TEST_BIG_ENDIAN(WORDS_BIGENDIAN) if (CMAKE_GENERATOR MATCHES "Xcode") - if (NOT (CMAKE_VERSION VERSION_LESS 3.9)) # CMake 3.9 and up - # Tell Xcode to regenerate scheme information automatically whenever the - # CMake configuration changes without asking the user - set (CMAKE_XCODE_GENERATE_SCHEME 1) - endif() + # Tell Xcode to regenerate scheme information automatically whenever the + # CMake configuration changes without asking the user + set (CMAKE_XCODE_GENERATE_SCHEME 1) endif() if (APPLE) -- cgit v1.2.3