Skip to content

Commit b7c12c2

Browse files
authored
Merge pull request #2403 from compnerd/autolink-phase-1.5
build: use autolinking on Windows
2 parents 87d6db4 + fbeff00 commit b7c12c2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,8 @@ add_swift_library(Foundation
280280
$<TARGET_FILE:uuid>
281281
${Foundation_RPATH}
282282
${WORKAROUND_SR9138}
283-
$<$<PLATFORM_ID:Windows>:-lDbgHelp>
284283
$<$<PLATFORM_ID:Windows>:-lOle32>
285-
$<$<PLATFORM_ID:Windows>:-lShLwApi>
286284
$<$<PLATFORM_ID:Windows>:-lShell32>
287-
$<$<PLATFORM_ID:Windows>:-lWS2_32>
288-
$<$<PLATFORM_ID:Windows>:-liphlpapi>
289285
$<$<PLATFORM_ID:Windows>:-lpathcch>
290286
$<$<PLATFORM_ID:Windows>:$<TARGET_OBJECTS:CoreFoundationResources>>
291287
SWIFT_FLAGS
@@ -538,7 +534,6 @@ if(ENABLE_TESTING)
538534
-L${FOUNDATION_PATH_TO_XCTEST_BUILD}
539535
-lXCTest
540536
${WORKAROUND_SR9138}
541-
$<$<PLATFORM_ID:Windows>:-lWS2_32>
542537
RESOURCES
543538
${CMAKE_SOURCE_DIR}/TestFoundation/Resources/Info.plist
544539
${CMAKE_SOURCE_DIR}/TestFoundation/Resources/NSURLTestData.plist

0 commit comments

Comments
 (0)