summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/CMakeLists.txt
blob: d85d60c8ce6361ef5196cee59a8f347b580776ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SET(sources
	stat_accm.c
	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)