From: Magnus Jacobsson Date: Mon, 14 Sep 2020 14:14:32 +0000 (+0200) Subject: Remove obsolete Linux special add of math target link library X-Git-Tag: 2.46.0~20^2^2~68^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e41893603f1eccf4d410d5cc11cc41cf2e75c3ca;p=graphviz Remove obsolete Linux special add of math target link library Since the previous commit, this is no longer necessary for programs that only use math functions indirectly through lib/gvc. --- diff --git a/cmd/dot/CMakeLists.txt b/cmd/dot/CMakeLists.txt index 9b292ca73..35927c967 100644 --- a/cmd/dot/CMakeLists.txt +++ b/cmd/dot/CMakeLists.txt @@ -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 diff --git a/cmd/tools/CMakeLists.txt b/cmd/tools/CMakeLists.txt index 9756c9d2d..5e02caa31 100644 --- a/cmd/tools/CMakeLists.txt +++ b/cmd/tools/CMakeLists.txt @@ -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 ===================================