summaryrefslogtreecommitdiff
path: root/accel-pptpd/logs/CMakeLists.txt
blob: ffcdc2f3a6be6126034a66d6817d640c64c4016c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ADD_LIBRARY(log_file SHARED log_file.c)
TARGET_LINK_LIBRARIES(log_file rt)

ADD_LIBRARY(log_tcp SHARED log_tcp.c)

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

IF(LOG_PGSQL)
	ADD_LIBRARY(log_pgsql SHARED log_pgsql.c)
	TARGET_LINK_LIBRARIES(log_pgsql pq)
	INSTALL(TARGETS log_pgsql
		LIBRARY DESTINATION usr/lib/accel-pptp
	)
ENDIF(LOG_PGSQL)