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)