File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,10 @@ function(swift_benchmark_compile)
708
708
cmake_parse_arguments (SWIFT_BENCHMARK_COMPILE "" "PLATFORM" "" ${ARGN} )
709
709
710
710
if (NOT SWIFT_BENCHMARK_BUILT_STANDALONE )
711
- set (stdlib_dependencies "swift-frontend" )
711
+ set (stdlib_dependencies "swift-frontend" "swiftCore-${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK} _LIB_SUBDIR}" )
712
+ if (${SWIFT_HOST_VARIANT_SDK} IN_LIST SWIFT_DARWIN_PLATFORMS )
713
+ list (APPEND stdlib_dependencies "swiftDarwin-${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK} _LIB_SUBDIR}" )
714
+ endif ()
712
715
foreach (stdlib_dependency ${UNIVERSAL_LIBRARY_NAMES_${SWIFT_BENCHMARK_COMPILE_PLATFORM}} )
713
716
string (FIND "${stdlib_dependency} " "Unittest" find_output )
714
717
if ("${find_output} " STREQUAL "-1" )
You can’t perform that action at this time.
0 commit comments