]> granicus.if.org Git - graphviz/commitdiff
Remove obsolete Linux special add of math target link library
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 14 Sep 2020 14:14:32 +0000 (16:14 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 23 Sep 2020 06:37:52 +0000 (08:37 +0200)
Since the previous commit, this is no longer necessary for programs
that only use math functions indirectly through lib/gvc.

cmd/dot/CMakeLists.txt
cmd/tools/CMakeLists.txt

index 9b292ca73322860835239ac8aa8dec5b4baf080f..35927c96700212becf64bd48c4f50eeb5ccd4319 100644 (file)
@@ -21,11 +21,6 @@ target_link_libraries(dot
     gvc
 )
 
-# Link to math library
-if (UNIX)
-    target_link_libraries(dot m)
-endif (UNIX)
-
 # Installation location of executables
 install(
     TARGETS dot
index 9756c9d2d5972c8313537d7dae581f70dcba31d7..5e02caa31b4a4c2b774d365207072f7eb1b038b2 100644 (file)
@@ -348,11 +348,6 @@ target_link_libraries(mm2gv
     sparse
 )
 
-# Link to math library
-if (UNIX)
-    target_link_libraries(mm2gv m)
-endif (UNIX)
-
 tool_defaults(mm2gv)
 
 # =================================== sccmap ===================================