From 30a923440ca57963e347923b7b1fc8651b6b8280 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 1 Jan 2022 17:37:22 +0100 Subject: [PATCH] cdt: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes to be controlled by the GVDLL symbol in cdt.h. Without this change, the following error would occur: LINK : fatal error LNK1104: cannot open file 'C:\GitLab-Runner\builds\magjac\graphviz\Debug\Graphviz\bin\cdt.lib' [C:\GitLab-Runner\builds\magjac\graphviz\lib\pathplan\Pathplan.vcxproj] Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/cdt/cdt.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdt/cdt.vcxproj b/lib/cdt/cdt.vcxproj index 07321d013..c810671e4 100644 --- a/lib/cdt/cdt.vcxproj +++ b/lib/cdt/cdt.vcxproj @@ -59,7 +59,7 @@ EnableFastChecks true 4996;4706 - EXPORT_CDT;%(PreprocessorDefinitions) + GVDLL;EXPORT_CDT;%(PreprocessorDefinitions) true @@ -75,7 +75,7 @@ Level4 true 4996;4706 - EXPORT_CDT;%(PreprocessorDefinitions) + GVDLL;EXPORT_CDT;%(PreprocessorDefinitions) -- 2.40.0