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.
1 parent 2427759 commit e54758bCopy full SHA for e54758b
Sources/Build/BuildDescription/ClangModuleBuildDescription.swift
@@ -455,6 +455,12 @@ public final class ClangModuleBuildDescription {
455
break
456
}
457
458
+ if bundlePath != nil {
459
+ compilationConditions += ["-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE=1"]
460
+ } else {
461
+ compilationConditions += ["-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE=1"]
462
+ }
463
+
464
return compilationConditions
465
466
0 commit comments