From ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 15 Oct 2010 22:12:28 +0400 Subject: added cpack interface to generate deb packages --- accel-pptpd/ctrl/l2tp/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'accel-pptpd/ctrl/l2tp/CMakeLists.txt') diff --git a/accel-pptpd/ctrl/l2tp/CMakeLists.txt b/accel-pptpd/ctrl/l2tp/CMakeLists.txt index c9b483d3..49310072 100644 --- a/accel-pptpd/ctrl/l2tp/CMakeLists.txt +++ b/accel-pptpd/ctrl/l2tp/CMakeLists.txt @@ -6,8 +6,12 @@ ADD_LIBRARY(l2tp SHARED l2tp.c dict.c packet.c - netlink.c + # netlink.c ) -TARGET_LINK_LIBRARIES(l2tp nl-genl) +#TARGET_LINK_LIBRARIES(l2tp nl nl-genl) INSTALL(TARGETS l2tp LIBRARY DESTINATION usr/lib/accel-pptp) + +FILE(GLOB dict "${CMAKE_CURRENT_SOURCE_DIR}/dict/*") +INSTALL(FILES ${dict} DESTINATION usr/share/accel-pptp/l2tp) + -- cgit v1.2.3