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

INSTALL(TARGETS log_file
	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)