File tree 3 files changed +3
-34
lines changed
3 files changed +3
-34
lines changed Original file line number Diff line number Diff line change 6
6
# See http://swift.org/LICENSE.txt for license information
7
7
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8
8
9
- cmake_minimum_required (VERSION 3.15.1 )
9
+ cmake_minimum_required (VERSION 3.19.6 )
10
10
11
11
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake/modules)
12
12
Original file line number Diff line number Diff line change @@ -10,21 +10,4 @@ add_executable(swift-driver
10
10
main.swift)
11
11
target_link_libraries (swift-driver PUBLIC
12
12
SwiftDriver
13
- SwiftDriverExecution)
14
-
15
- # This is a fairly egregious workaround for the fact that in versions < 3.17,
16
- # executables do not get `-rpath` linker arguments for their linked library
17
- # dependencies (direct and transitive)
18
- if (CMAKE_VERSION VERSION_LESS 3.17)
19
- get_target_property (TSC_UTIL_LIB TSCUtility LOCATION )
20
- get_filename_component (TSC_LIB_DIR ${TSC_UTIL_LIB} DIRECTORY )
21
-
22
- get_target_property (LLBUILD_LIB llbuildSwift LOCATION )
23
- get_filename_component (LLBUILD_LIB_DIR ${LLBUILD_LIB} DIRECTORY )
24
-
25
- get_target_property (ARGPARSE_LIB ArgumentParser LOCATION )
26
- get_filename_component (ARGPARSE_LIB_DIR ${ARGPARSE_LIB} DIRECTORY )
27
-
28
- set_property (TARGET swift-driver PROPERTY BUILD_RPATH
29
- ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} ;${TSC_LIB_DIR} ;${LLBUILD_LIB_DIR} ;${ARGPARSE_LIB_DIR} )
30
- endif ()
13
+ SwiftDriverExecution)
Original file line number Diff line number Diff line change @@ -11,18 +11,4 @@ add_executable(swift-help
11
11
target_link_libraries (swift-help PUBLIC
12
12
SwiftOptions
13
13
ArgumentParser
14
- TSCBasic)
15
-
16
- # This is a fairly egregious workaround for the fact that in versions < 3.17,
17
- # executables do not get `-rpath` linker arguments for their linked library
18
- # dependencies (direct and transitive)
19
- if (CMAKE_VERSION VERSION_LESS 3.17)
20
- get_target_property (TSC_UTIL_LIB TSCUtility LOCATION )
21
- get_filename_component (TSC_LIB_DIR ${TSC_UTIL_LIB} DIRECTORY )
22
-
23
- get_target_property (ARGPARSE_LIB ArgumentParser LOCATION )
24
- get_filename_component (ARGPARSE_LIB_DIR ${ARGPARSE_LIB} DIRECTORY )
25
-
26
- set_property (TARGET swift-help PROPERTY BUILD_RPATH
27
- ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} ;${TSC_LIB_DIR} ;${ARGPARSE_LIB_DIR} )
28
- endif ()
14
+ TSCBasic)
You can’t perform that action at this time.
0 commit comments