Skip to content

Commit 925783a

Browse files
committed
Fix includes setup for parser bindings generation in macOS host platform.
1 parent 060432c commit 925783a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/CppParser/ParserGen/ParserGen.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ private void SetupLinuxOptions(ParserOptions options)
101101

102102
private static void SetupMacOptions(ParserOptions options)
103103
{
104+
if (Platform.IsMacOS)
105+
{
106+
options.SetupXcode();
107+
return;
108+
}
109+
104110
options.MicrosoftMode = false;
105111
options.NoBuiltinIncludes = true;
106112

0 commit comments

Comments
 (0)