summaryrefslogtreecommitdiff
path: root/CMake/setup.cmake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-15 21:30:12 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-15 21:30:12 +0100
commit6f021d483093a51e736d38e12491fbe5a70d302c (patch)
tree16c8f4a677c00e617c842dff8634f0018f619798 /CMake/setup.cmake
parented7c2f1464346c386825b6ef76a507f481604024 (diff)
CMake: Raise cmake_minimum_required from 3.12 to 3.15
Remove code that checks CMake versions lower than 3.15
Diffstat (limited to 'CMake/setup.cmake')
-rw-r--r--CMake/setup.cmake8
1 files changed, 3 insertions, 5 deletions
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)