diff --git a/Package.swift b/Package.swift index 29d138effb..210cbc2b8f 100644 --- a/Package.swift +++ b/Package.swift @@ -768,6 +768,9 @@ func adjustForWindows() { #if os(Windows) adjustForWindows() #endif +if ProcessInfo.processInfo.environment["TARGETING_WINDOWS"] == "true" { + adjustForWindows() +} if ProcessInfo.processInfo.environment["GENERATING_CMAKE_FOR_WINDOWS"] == "true" { adjustForWindows() } diff --git a/README.md b/README.md index 48ce2616e7..d849ecda6f 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ let package = Package( .package( name: "SDGCornerstone", url: "https://github.com/SDGGiesbrecht/SDGCornerstone", - from: Version(5, 4, 0) + from: Version(5, 4, 1) ), ], targets: [ diff --git a/Workspace.swift b/Workspace.swift index 6ff2d2d379..2f1894a3fe 100644 --- a/Workspace.swift +++ b/Workspace.swift @@ -17,7 +17,7 @@ import WorkspaceConfiguration let configuration = WorkspaceConfiguration() configuration._applySDGDefaults() -configuration.documentation.currentVersion = Version(5, 4, 0) +configuration.documentation.currentVersion = Version(5, 4, 1) configuration.documentation.projectWebsite = URL( string: "https://sdggiesbrecht.github.io/SDGCornerstone"