From 3201e5a54755732de7fdec3a21aa5244ba4b2bb8 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:35:57 +0000 Subject: [PATCH] Enable MemberImportVisibility check on all targets --- Package.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Package.swift b/Package.swift index 159543a..1c83c12 100644 --- a/Package.swift +++ b/Package.swift @@ -154,3 +154,9 @@ var package = Package( cxxLanguageStandard: .cxx11 ) + +for target in package.targets { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings +}