diff options
Diffstat (limited to 'accel-pppd/radius/CMakeLists.txt')
-rw-r--r-- | accel-pppd/radius/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/accel-pppd/radius/CMakeLists.txt b/accel-pppd/radius/CMakeLists.txt new file mode 100644 index 00000000..322bee51 --- /dev/null +++ b/accel-pppd/radius/CMakeLists.txt @@ -0,0 +1,19 @@ +SET(sources + dict.c + req.c + packet.c + auth.c + acct.c + dm_coa.c + radius.c +) + +ADD_DEFINITIONS(-DDICTIONARY="${CMAKE_INSTALL_PREFIX}/share/accel-ppp/radius/dictionary") + +ADD_LIBRARY(radius SHARED ${sources}) + +INSTALL(TARGETS radius + LIBRARY DESTINATION lib/accel-ppp +) +FILE(GLOB dict "${CMAKE_CURRENT_SOURCE_DIR}/dict/*") +INSTALL(FILES ${dict} DESTINATION share/accel-ppp/radius) |