diff --git a/Package.swift b/Package.swift index 77cd0a5e..95e3fbea 100644 --- a/Package.swift +++ b/Package.swift @@ -138,7 +138,6 @@ let warningsAsErrorsCondition = envBoolValue("WERROR", default: isXcodeEnv && de let swiftCheckoutPath = "\(Context.packageDirectory)/.build/checkouts/swift" let swiftCorelibsPath = envStringValue("LIB_SWIFT_PATH") ?? "\(Context.packageDirectory)/Sources/SwiftCorelibs/include" -let swiftBridgingPath = "\(Context.packageDirectory)/Sources/SwiftBridging/include" let releaseVersion = envIntValue("TARGET_RELEASE", default: 2024) @@ -177,7 +176,6 @@ sharedCSettings.append( "-isystem", "\(swiftCheckoutPath)/include", "-isystem", "\(swiftCheckoutPath)/stdlib/include", "-isystem", "\(swiftCheckoutPath)/stdlib/public/SwiftShims", - "-isystem", swiftBridgingPath, ]) ) sharedCxxSettings.append( @@ -185,7 +183,6 @@ sharedCxxSettings.append( "-isystem", "\(swiftCheckoutPath)/include", "-isystem", "\(swiftCheckoutPath)/stdlib/include", "-isystem", "\(swiftCheckoutPath)/stdlib/public/SwiftShims", - "-isystem", swiftBridgingPath, ]) ) sharedCSettings.append( diff --git a/Sources/OpenAttributeGraphCxx/include/SwiftBridging b/Sources/OpenAttributeGraphCxx/include/SwiftBridging new file mode 120000 index 00000000..8ab8aae2 --- /dev/null +++ b/Sources/OpenAttributeGraphCxx/include/SwiftBridging @@ -0,0 +1 @@ +../../SwiftBridging \ No newline at end of file diff --git a/Sources/SwiftBridging/include/SwiftBridging/SwiftBridging.h b/Sources/SwiftBridging/SwiftBridging.h similarity index 100% rename from Sources/SwiftBridging/include/SwiftBridging/SwiftBridging.h rename to Sources/SwiftBridging/SwiftBridging.h diff --git a/Sources/Utilities/include/SwiftBridging b/Sources/Utilities/include/SwiftBridging new file mode 120000 index 00000000..8ab8aae2 --- /dev/null +++ b/Sources/Utilities/include/SwiftBridging @@ -0,0 +1 @@ +../../SwiftBridging \ No newline at end of file