diff --git a/src/cmakeProject.ts b/src/cmakeProject.ts index 9287e8ae4..71407efdd 100644 --- a/src/cmakeProject.ts +++ b/src/cmakeProject.ts @@ -1897,7 +1897,7 @@ export class CMakeProject { */ async runBuild(targets?: string[], showCommandOnly?: boolean, taskConsumer?: proc.OutputConsumer, isBuildCommand?: boolean): Promise { if (!showCommandOnly) { - log.info(localize('run.build', 'Building folder: {0}', this.folderName), (targets && targets.length > 0) ? targets.join(', ') : ''); + log.info(localize('run.build', 'Building folder: {0}', await this.binaryDir || this.folderName), (targets && targets.length > 0) ? targets.join(', ') : ''); } let drv: CMakeDriver | null; if (showCommandOnly) {