From d75c0f698a65ff8a7ca3418d26f362cf6f3bdc8c Mon Sep 17 00:00:00 2001 From: Artem Chikin Date: Fri, 30 Apr 2021 15:55:46 -0700 Subject: [PATCH] Bump required CMake version to 3.17 There are several key livability fixes in 3.17 for building Swift code. This should prevent scenarios like this: https://github.com/apple/swift/pull/37114 Where CMake `<3.17` missed setting up rpaths on the `swift-driver` executable. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3db4123c5..d2d5d1337 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ # See http://swift.org/LICENSE.txt for license information # See http://swift.org/CONTRIBUTORS.txt for Swift project authors -cmake_minimum_required(VERSION 3.15.1) +cmake_minimum_required(VERSION 3.17) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)