]> granicus.if.org Git - graphviz/commitdiff
gvc: change to link to cgraph privately
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 28 Aug 2021 06:42:59 +0000 (08:42 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 29 Aug 2021 20:13:40 +0000 (22:13 +0200)
Downstream libraries that explicitly use cgraph now link to cgraph
themselves and no longer rely on a transitive dependency to cgraph
through gvc.

lib/gvc/CMakeLists.txt

index 5a7c2cc211b3b1a7541a40c037a5fd8c6de1c4db..1239320d1be77090008edf0e9dbc98e6adc27e5d 100644 (file)
@@ -53,12 +53,12 @@ target_link_libraries(gvc PRIVATE
 )
 
 target_link_libraries(gvc PRIVATE
+    cgraph
     common
 )
 
 target_link_libraries(gvc PUBLIC
     cdt
-    cgraph
     label
     pack
     xdot