Switch to cmake

Change-Id: I982b69390c55b5ffbd744f355efc0aaf425b360c
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vcl/CMakeLists.txt b/src/vcl/CMakeLists.txt
index b6d4964..b0a283c 100644
--- a/src/vcl/CMakeLists.txt
+++ b/src/vcl/CMakeLists.txt
@@ -26,6 +26,15 @@
   vppinfra svm vlibmemoryclient rt pthread
 )
 
+add_vpp_library(vcl_ldpreload
+  SOURCES
+  ldp_socket_wrapper.c
+  ldp.c
+
+  LINK_LIBRARIES
+  vppinfra svm vlibmemoryclient rt pthread vppcom
+)
+
 add_vpp_headers(vcl
   ldp.h
   vcl_event.h