File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,6 @@ function(add_dependencies_multiple_targets)
28
28
endif ()
29
29
endfunction ()
30
30
31
- # Compute the library subdirectory to use for the given sdk and
32
- # architecture, placing the result in 'result_var_name'.
33
- function (compute_library_subdir result_var_name sdk arch )
34
- if (sdk IN_LIST SWIFT_APPLE_PLATFORMS OR sdk STREQUAL "MACCATALYST" )
35
- set ("${result_var_name} " "${SWIFT_SDK_${sdk} _LIB_SUBDIR}" PARENT_SCOPE )
36
- else ()
37
- set ("${result_var_name} " "${SWIFT_SDK_${sdk} _LIB_SUBDIR}/${arch} " PARENT_SCOPE )
38
- endif ()
39
- endfunction ()
40
-
41
31
function (_compute_lto_flag option out_var )
42
32
string (TOLOWER "${option} " lowercase_option )
43
33
if (lowercase_option STREQUAL "full" )
Original file line number Diff line number Diff line change 1
1
include (macCatalystUtils )
2
2
include (SwiftUtils )
3
3
4
+ # Compute the library subdirectory to use for the given sdk and
5
+ # architecture, placing the result in 'result_var_name'.
6
+ function (compute_library_subdir result_var_name sdk arch )
7
+ if (sdk IN_LIST SWIFT_APPLE_PLATFORMS OR sdk STREQUAL "MACCATALYST" )
8
+ set ("${result_var_name} " "${SWIFT_SDK_${sdk} _LIB_SUBDIR}" PARENT_SCOPE )
9
+ else ()
10
+ set ("${result_var_name} " "${SWIFT_SDK_${sdk} _LIB_SUBDIR}/${arch} " PARENT_SCOPE )
11
+ endif ()
12
+ endfunction ()
13
+
4
14
# Process the sources within the given variable, pulling out any Swift
5
15
# sources to be compiled with 'swift' directly. This updates
6
16
# ${sourcesvar} in place with the resulting list and ${externalvar} with the
You can’t perform that action at this time.
0 commit comments