File tree 2 files changed +2
-17
lines changed 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -346,27 +346,22 @@ add_swift_library(FoundationNetworking
346
346
${CMAKE_C_COMPILER_TARGET}
347
347
CFLAGS
348
348
${MSVCRT_C_FLAGS}
349
- ${deployment_target}
350
- ${deployment_enable_libdispatch}
351
349
-F${CMAKE_CURRENT_BINARY_DIR}
352
350
LINK_FLAGS
353
351
${MSVCRT_LINK_FLAGS}
354
352
-L${CMAKE_CURRENT_BINARY_DIR}
355
- ${ICU_UC_LIBRARY} ${ICU_I18N_LIBRARY}
356
353
${libdispatch_ldflags}
357
354
-lFoundation
358
355
${Foundation_INTERFACE_LIBRARIES}
359
- ${CFURLSessionInterface_LIBRARIES}
356
+ ${CFURLSessionInterface_LIBRARIES}
360
357
${CURL_LIBRARIES}
361
358
${Foundation_RPATH}
362
359
${WORKAROUND_SR9138}
363
360
${WORKAROUND_SR9995}
364
- $<$<PLATFORM_ID:Windows>:$<TARGET_OBJECTS:CoreFoundationResources>>
365
361
SWIFT_FLAGS
366
362
-DDEPLOYMENT_RUNTIME_SWIFT
367
- -DNS_BUILDING_FOUNDATION_NETWORKING
363
+ -DNS_BUILDING_FOUNDATION_NETWORKING
368
364
${deployment_enable_libdispatch}
369
- -I;${ICU_INCLUDE_DIR}
370
365
-I;${CMAKE_CURRENT_BINARY_DIR} /swift
371
366
${libdispatch_cflags}
372
367
${swift_enable_testing}
Original file line number Diff line number Diff line change @@ -543,18 +543,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL Android)
543
543
target_link_libraries (CoreFoundation
544
544
PRIVATE
545
545
log )
546
- target_link_libraries (CFURLSessionInterface
547
- PRIVATE
548
- log )
549
546
endif ()
550
547
target_link_libraries (CoreFoundation
551
548
PRIVATE
552
549
Threads::Threads
553
550
${CMAKE_DL_LIBS} )
554
- target_link_libraries (CFURLSessionInterface
555
- PRIVATE
556
- Threads::Threads
557
- ${CMAKE_DL_LIBS} )
558
551
if (CMAKE_SYSTEM_NAME STREQUAL Windows)
559
552
target_link_libraries (CoreFoundation
560
553
PRIVATE
@@ -593,9 +586,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
593
586
set_target_properties (CoreFoundation
594
587
PROPERTIES LINK_FLAGS
595
588
-Xlinker;-alias_list;-Xlinker;Base.subproj/DarwinSymbolAliases;-twolevel_namespace;-sectcreate;__UNICODE;__csbitmaps;CharacterSets/CFCharacterSetBitmaps.bitmap;-sectcreate;__UNICODE;__properties;CharacterSets/CFUniCharPropertyDatabase.data;-sectcreate;__UNICODE;__data;CharacterSets/CFUnicodeData-L.mapping;-segprot;__UNICODE;r;r)
596
- set_target_properties (CFURLSessionInterface
597
- PROPERTIES LINK_FLAGS
598
- -Xlinker;-alias_list;-Xlinker;Base.subproj/DarwinSymbolAliases;-twolevel_namespace;-sectcreate;__UNICODE;__csbitmaps;CharacterSets/CFCharacterSetBitmaps.bitmap;-sectcreate;__UNICODE;__properties;CharacterSets/CFUniCharPropertyDatabase.data;-sectcreate;__UNICODE;__data;CharacterSets/CFUnicodeData-L.mapping;-segprot;__UNICODE;r;r)
599
589
endif ()
600
590
601
591
install (TARGETS
You can’t perform that action at this time.
0 commit comments