]> granicus.if.org Git - graphviz/commitdiff
sfdpgen: add linking to sparse
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 29 Aug 2021 15:47:13 +0000 (17:47 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 30 Aug 2021 15:51:09 +0000 (17:51 +0200)
E.g. lib/sfdpgen/Multilevel.c uses random_permutation from
lib/sparse/general.c.

lib/sfdpgen/CMakeLists.txt

index 239c695daa23705698d8fa54747881a45e772f1d..d52b6cfa8b827c73108f09aba48224f41d7d91c2 100644 (file)
@@ -35,6 +35,7 @@ target_include_directories(sfdpgen PRIVATE
 
 target_link_libraries(sfdpgen PRIVATE
     gvc
+    sparse
 )
 
 endif (with_sfdp)