]> granicus.if.org Git - graphviz/commitdiff
gvc++: include "gvc.h" instead of <gvc.h> in GVContext.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 20 Feb 2022 10:08:52 +0000 (11:08 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 22 Feb 2022 06:57:01 +0000 (07:57 +0100)
This makes it possible to use GVContext.h from the install directory
without the need to specify both "include" and "include/graphviz" as
include directories to the compiler.

Towards https://gitlab.com/graphviz/graphviz/-/issues/2196.

lib/gvc++/GVContext.h

index 7616dfc02f09a698617365c3f79f5324194a6e45..d7494d82ea3df3126189a1aa4da742a1b5357059 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <utility>
 
-#include <gvc.h>
+#include "gvc.h"
 
 #ifdef GVDLL
 #if gvc___EXPORTS // CMake's substitution of gvc++_EXPORTS