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)
708708 cmake_parse_arguments (SWIFT_BENCHMARK_COMPILE "" "PLATFORM" "" ${ARGN} )
709709
710710 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 ()
712715 foreach (stdlib_dependency ${UNIVERSAL_LIBRARY_NAMES_${SWIFT_BENCHMARK_COMPILE_PLATFORM} })
713716 string (FIND "${stdlib_dependency} " "Unittest" find_output)
714717 if ("${find_output} " STREQUAL "-1" )
You can’t perform that action at this time.
0 commit comments