From 64ebeb9e22b92a1813477f3a4da2fa89dd954696 Mon Sep 17 00:00:00 2001 From: Alexander Mann-Wahrenberg Date: Sat, 25 Nov 2023 15:22:02 +0000 Subject: [PATCH] Support test executable's not equal to test target's name --- src/cmakeProject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmakeProject.ts b/src/cmakeProject.ts index b34b614c9..c50b56065 100644 --- a/src/cmakeProject.ts +++ b/src/cmakeProject.ts @@ -2249,7 +2249,7 @@ export class CMakeProject { } if (name) { - const found = (await this.executableTargets).find(e => e.name === name); + const found = (await this.executableTargets).find(e => path.parse(e.path).name === name); if (!found) { return null; }