]> granicus.if.org Git - graphviz/commitdiff
gvc++: include gvc.h without the gvc directory prefix in GVContext.h
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 20 Feb 2022 09:34:33 +0000 (10:34 +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
where gvc.h is not located under this prefix.

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

lib/gvc++/GVContext.h

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