blob: 4931007277a87bf37a153989e757f7b89c394d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
ADD_DEFINITIONS(-DDICTIONARY="${CMAKE_INSTALL_PREFIX}/usr/share/accel-pptp/l2tp/dictionary")
ADD_LIBRARY(l2tp SHARED
l2tp.c
dict.c
packet.c
# netlink.c
)
#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)
|