build: remove unnecesary link deps

Change-Id: I560c505ff754bf6856094c16494530a855fe287b
Type: make
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/plugins/mactime/CMakeLists.txt b/src/plugins/mactime/CMakeLists.txt
index debf033..7111f41 100644
--- a/src/plugins/mactime/CMakeLists.txt
+++ b/src/plugins/mactime/CMakeLists.txt
@@ -38,6 +38,5 @@
     svm
     vppinfra
     Threads::Threads
-    rt m dl crypto
     )
 endif()
diff --git a/src/vat/CMakeLists.txt b/src/vat/CMakeLists.txt
index e4f8945..e5945b2 100644
--- a/src/vat/CMakeLists.txt
+++ b/src/vat/CMakeLists.txt
@@ -41,7 +41,7 @@
   vatplugin
   vppinfra
   Threads::Threads
-  rt m dl crypto
+  dl
 )
 
 ##############################################################################
diff --git a/src/vat2/CMakeLists.txt b/src/vat2/CMakeLists.txt
index 31d4293..108e184 100644
--- a/src/vat2/CMakeLists.txt
+++ b/src/vat2/CMakeLists.txt
@@ -27,7 +27,7 @@
   vppinfra
   vppapiclient
   Threads::Threads
-  rt m dl crypto
+  dl
 )
 
 #
@@ -49,7 +49,7 @@
   vppinfra
   vppapiclient
   Threads::Threads
-  rt m dl crypto
+  dl
 )
 #target_link_options(test_vat2 PUBLIC "LINKER:-fsanitize=address")
 if(VPP_BUILD_TESTS_WITH_COVERAGE)