diff options
Diffstat (limited to 'accel-pppd/ctrl/l2tp/CMakeLists.txt')
-rw-r--r-- | accel-pppd/ctrl/l2tp/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/l2tp/CMakeLists.txt b/accel-pppd/ctrl/l2tp/CMakeLists.txt new file mode 100644 index 00000000..b2952899 --- /dev/null +++ b/accel-pppd/ctrl/l2tp/CMakeLists.txt @@ -0,0 +1,17 @@ +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) + +ADD_DEFINITIONS(-DDICTIONARY="${CMAKE_INSTALL_PREFIX}/share/accel-ppp/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 lib/accel-ppp) + +FILE(GLOB dict "${CMAKE_CURRENT_SOURCE_DIR}/dict/*") +INSTALL(FILES ${dict} DESTINATION share/accel-ppp/l2tp) + |