summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/CMakeLists.txt
blob: 8e9fd3573b8655ed84abbff63f894213eea41ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SET(sources_c 
	md.c
	timer.c
	triton.c
	conf_file.c
	loader.c
	log.c
	mempool.c
	event.c
)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

ADD_DEFINITIONS(-DMODULE_PATH="${CMAKE_INSTALL_PREFIX}/usr/lib/accel-pptp")

ADD_LIBRARY(triton SHARED ${sources_c})
TARGET_LINK_LIBRARIES(triton dl)

INSTALL(TARGETS triton
	LIBRARY DESTINATION usr/lib/accel-pptp
)