Skip to content

Commit bbbfccc

Browse files
committed
Support test executable's not equal to test target's name
1 parent 6b237be commit bbbfccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmakeProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ export class CMakeProject {
22492249
}
22502250

22512251
if (name) {
2252-
const found = (await this.executableTargets).find(e => e.name === name);
2252+
const found = (await this.executableTargets).find(e => path.parse(e.path).name === name);
22532253
if (!found) {
22542254
return null;
22552255
}

0 commit comments

Comments
 (0)