From 25666e5c260a288475680c0afb88f7b27fb1eb0f Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Thu, 23 Sep 2021 23:51:41 +0200 Subject: [PATCH] lib/gvpr: CMake: define EXPORT_GVPR Without this change, an upcoming commit that defines GVDLL would cause a warning like this: C:\Users\magja\graphviz\lib\gvpr\gvpr.c(931,1): warning C4273: 'gvpr': inconsistent dll linkage [C:\Users\magja\graphviz\build\lib\gvpr\gvpr.vcxproj] --- lib/gvpr/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gvpr/CMakeLists.txt b/lib/gvpr/CMakeLists.txt index b99ed35c7..e812381a8 100644 --- a/lib/gvpr/CMakeLists.txt +++ b/lib/gvpr/CMakeLists.txt @@ -1,3 +1,5 @@ +add_definitions(-DEXPORT_GVPR) + add_library(gvpr STATIC # Header files actions.h -- 2.40.0