We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-I
1 parent 8284092 commit 7582422Copy full SHA for 7582422
Sources/Build/BuildPlan/BuildPlan.swift
@@ -471,7 +471,7 @@ public class BuildPlan: SPMBuildCore.BuildPlan {
471
for target in targets {
472
switch target {
473
case .swift(let targetDescription):
474
- arguments += ["-I", targetDescription.moduleOutputPath.pathString]
+ arguments += ["-I", targetDescription.moduleOutputPath.parentDirectory.pathString]
475
case .clang(let targetDescription):
476
if let includeDir = targetDescription.moduleMap?.parentDirectory {
477
arguments += ["-I", includeDir.pathString]
0 commit comments