Skip to content

Commit b127725

Browse files
committed
Drop Pathcch dependency
1 parent d7ec183 commit b127725

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Package.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff 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

Sources/TSCBasic/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
6666
Foundation)
6767
endif()
6868
endif()
69-
target_link_libraries(TSCBasic PRIVATE
70-
$<$<PLATFORM_ID:Windows>:Pathcch>)
7169
# NOTE(compnerd) workaround for CMake not setting up include flags yet
7270
set_target_properties(TSCBasic PROPERTIES
7371
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})

0 commit comments

Comments
 (0)