File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -2365,10 +2365,7 @@ endmacro()
2365
2365
2366
2366
function (add_swift_host_tool executable )
2367
2367
set (ADDSWIFTHOSTTOOL_multiple_parameter_options
2368
- SWIFT_COMPONENT
2369
- COMPILE_FLAGS
2370
- DEPENDS
2371
- SWIFT_MODULE_DEPENDS )
2368
+ SWIFT_COMPONENT )
2372
2369
2373
2370
cmake_parse_arguments (
2374
2371
ADDSWIFTHOSTTOOL # prefix
@@ -2377,21 +2374,10 @@ function(add_swift_host_tool executable)
2377
2374
"${ADDSWIFTHOSTTOOL_multiple_parameter_options} " # multi-value args
2378
2375
${ARGN} )
2379
2376
2380
- # Configure variables for this subdirectory.
2381
- set (VARIANT_SUFFIX "-${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK} _LIB_SUBDIR}-${SWIFT_HOST_VARIANT_ARCH} " )
2382
- set (MODULE_VARIANT_SUFFIX "-swiftmodule${VARIANT_SUFFIX} " )
2383
-
2384
- foreach (mod ${ADDSWIFTHOSTTOOL_SWIFT_MODULE_DEPENDS} )
2385
- list (APPEND ADDSWIFTHOSTTOOL_DEPENDS "swift${mod}${MODULE_VARIANT_SUFFIX} " )
2386
- list (APPEND ADDSWIFTHOSTTOOL_DEPENDS "swift${mod}${VARIANT_SUFFIX} " )
2387
- endforeach ()
2388
-
2389
2377
# Create the executable rule.
2390
2378
add_swift_executable (
2391
2379
${executable}
2392
2380
${ADDSWIFTHOSTTOOL_UNPARSED_ARGUMENTS}
2393
- DEPENDS ${ADDSWIFTHOSTTOOL_DEPENDS}
2394
- COMPILE_FLAGS ${ADDSWIFTHOSTTOOL_COMPILE_FLAGS}
2395
2381
)
2396
2382
2397
2383
# And then create the install rule if we are asked to.
You can’t perform that action at this time.
0 commit comments