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(
7777 dependencies: [ " TSCUtility " , " TSCTestSupport " ] ) ,
7878 ]
7979)
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)
6666 Foundation)
6767 endif ()
6868endif ()
69- target_link_libraries (TSCBasic PRIVATE
70- $<$<PLATFORM_ID:Windows>:Pathcch>)
7169# NOTE(compnerd) workaround for CMake not setting up include flags yet
7270set_target_properties (TSCBasic PROPERTIES
7371 INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
You can’t perform that action at this time.
0 commit comments