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

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

lib/gvc++/GVLayout.h

index aee99359609ecead119257f0d00bdbf6a8b89c83..f9b84b4d5ac6d98c3596d235e3c3e72c88b74747 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "GVContext.h"
 #include "GVRenderData.h"
-#include <AGraph.h>
+#include "AGraph.h"
 
 #ifdef GVDLL
 #if gvc___EXPORTS // CMake's substitution of gvc++_EXPORTS