Skip to content

Commit 50b7bb6

Browse files
committed
Add iquote support
1 parent 5b1e92c commit 50b7bb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Build/describe().swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ public func describe(prefix: String, _ conf: Configuration, _ modules: [Module],
128128
args += ["-fmodules", "-fmodule-name=\(module.name)"]
129129
args += ["-fmodule-map-file=\(module.moduleMapPath)"]
130130

131+
for case let otherModule as ClangModule in modules where otherModule != module {
132+
args += ["-iquote", otherModule.path]
133+
}
134+
131135
switch conf {
132136
case .Debug:
133137
args += ["-g", "-O0"]

0 commit comments

Comments
 (0)