summaryrefslogtreecommitdiff
path: root/accel-pppd/logs/CMakeLists.txt
blob: ce909b67dbaf312983481f595da45b93ea70ff51 (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 lib/accel-ppp
)

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