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)
2828 endif ()
2929endfunction ()
3030
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-
4131function (_compute_lto_flag option out_var)
4232 string (TOLOWER "${option} " lowercase_option)
4333 if (lowercase_option STREQUAL "full" )
Original file line number Diff line number Diff line change 11include (macCatalystUtils)
22include (SwiftUtils)
33
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+
414# Process the sources within the given variable, pulling out any Swift
515# sources to be compiled with 'swift' directly. This updates
616# ${sourcesvar} in place with the resulting list and ${externalvar} with the
You can’t perform that action at this time.
0 commit comments