Skip to content

Commit d4953f3

Browse files
committed
vcxproj: avoid escaping double quotes in the defines
Visual Studio 2022 does not like that at all. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 4473e64 commit d4953f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/buildsystems/Generators/Vcxproj.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ sub createProject {
8888
$defines =~ s/</&lt;/g;
8989
$defines =~ s/>/&gt;/g;
9090
$defines =~ s/\'//g;
91+
$defines =~ s/\\"/"/g;
9192

9293
my $rcdefines = $defines;
9394
$rcdefines =~ s/(?<!\\)"/\\$&/g;

0 commit comments

Comments
 (0)