]> granicus.if.org Git - graphviz/commitdiff
cgraph++: include "cgraph.h" instead of <cgraph.h> in AGraph.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 20 Feb 2022 10:03:43 +0000 (11:03 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 22 Feb 2022 06:57:01 +0000 (07:57 +0100)
This makes it possible to use AGraph.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/cgraph++/AGraph.h

index 03eb116541d4f32bf9d4f2ab9883ba4ec92f4670..43439098af915e819c6373b4293c693aca99b80b 100644 (file)
@@ -3,7 +3,7 @@
 #include <string>
 #include <utility>
 
-#include <cgraph.h>
+#include "cgraph.h"
 
 #ifdef GVDLL
 #if cgraph___EXPORTS // CMake's substitution of cgraph++_EXPORTS