Skip to content

Commit 5bd8aba

Browse files
committed
[cmake] Bump minimum version to 3.4.3
The Swift README states that the minimum CMake version required to build the Swift project is the same as LLVM's: 3.4.3. Bump the minimum version used by CMake to correspond to the README.
1 parent 647f65e commit 5bd8aba

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

CMakeLists.txt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
2-
3-
if(POLICY CMP0051)
4-
cmake_policy(SET CMP0051 NEW)
5-
endif()
6-
7-
if(POLICY CMP0054)
8-
cmake_policy(SET CMP0054 NEW)
9-
endif()
10-
11-
# Enable the IN_LIST operator, as in:
12-
# `if(<element_variable> IN_LIST <list_variable>)`
13-
if(POLICY CMP0057)
14-
cmake_policy(SET CMP0057 NEW)
15-
endif()
1+
cmake_minimum_required(VERSION 3.4.3)
162

173
# Add path for custom CMake modules.
184
list(APPEND CMAKE_MODULE_PATH

tools/swift-remoteast-test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ add_swift_host_tool(swift-remoteast-test
66
SWIFT_COMPONENT tools
77
)
88

9+
set_target_properties(swift-remoteast-test PROPERTIES ENABLE_EXPORTS 1)
910
target_link_libraries(swift-remoteast-test edit)
1011

1112
# If building as part of clang, make sure the headers are installed.

0 commit comments

Comments
 (0)