summaryrefslogtreecommitdiff
path: root/accel-pppd/auth/CMakeLists.txt
blob: f93d9e3542f5f9402f3143815806a409d185ef4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ADD_LIBRARY(auth_pap SHARED auth_pap.c)
ADD_LIBRARY(auth_chap_md5 SHARED auth_chap_md5.c)
ADD_LIBRARY(auth_mschap_v1 SHARED auth_mschap_v1.c)
ADD_LIBRARY(auth_mschap_v2 SHARED auth_mschap_v2.c)

TARGET_LINK_LIBRARIES(auth_chap_md5 ${crypto_lib})
TARGET_LINK_LIBRARIES(auth_mschap_v1 ${crypto_lib})
TARGET_LINK_LIBRARIES(auth_mschap_v2 ${crypto_lib})

INSTALL(TARGETS auth_pap auth_chap_md5 auth_mschap_v1 auth_mschap_v2
	LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)