File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,3 @@ let package = Package(
77
77
dependencies: [ " TSCUtility " , " TSCTestSupport " ] ) ,
78
78
]
79
79
)
80
-
81
- // FIXME: conditionalise these flags since SwiftPM 5.3 and earlier will crash
82
- // for platforms they don't know about.
83
- #if os(Windows)
84
- if let TSCBasic = package . targets. first ( where: { $0. name == " TSCBasic " } ) {
85
- TSCBasic . cxxSettings = [
86
- . define( " _CRT_SECURE_NO_WARNINGS " , . when( platforms: [ . windows] ) ) ,
87
- ]
88
- TSCBasic . linkerSettings = [
89
- . linkedLibrary( " Pathcch " , . when( platforms: [ . windows] ) ) ,
90
- ]
91
- }
92
- #endif
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
66
66
Foundation )
67
67
endif ()
68
68
endif ()
69
- target_link_libraries (TSCBasic PRIVATE
70
- $< $< PLATFORM_ID:Windows> :Pathcch> )
71
69
# NOTE(compnerd) workaround for CMake not setting up include flags yet
72
70
set_target_properties (TSCBasic PROPERTIES
73
71
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
You can’t perform that action at this time.
0 commit comments