Skip to content

Commit 1b8aef9

Browse files
committed
amend! Add PR microsoft#4718 to CHANGELOG
Add PR microsoft#4718 to CHANGELOG
1 parent 53249c3 commit 1b8aef9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/drivers/cmakeFileApi.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,11 @@ export async function loadToolchains(filename: string): Promise<Map<string, Code
594594

595595
return toolchains.toolchains.reduce((acc, el) => {
596596
if (el.compiler.path) {
597-
acc.set(el.language, { path: el.compiler.path, implicitIncludes: el.compiler.implicit.includeDirectories });
597+
acc.set(el.language, {
598+
path: el.compiler.path,
599+
target: el.compiler.target,
600+
implicitIncludes: el.compiler.implicit.includeDirectories
601+
});
598602
}
599603
return acc;
600604
}, new Map<string, CodeModelToolchain>());

0 commit comments

Comments
 (0)