1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 20:31:17 +00:00

Build libtcp-portmon as a separate library.

This commit is contained in:
Brenden Matthews 2009-12-10 15:19:13 -08:00
parent 316198a0c3
commit 07e2002b03

View File

@ -75,7 +75,9 @@ if(BUILD_XMMS2)
endif(BUILD_XMMS2)
if(BUILD_PORT_MONITORS)
set(port_monitors libtcp-portmon.cc tcp-portmon.cc)
add_library(tcp-portmon libtcp-portmon.cc)
set(conky_libs ${conky_libs} tcp-portmon)
set(port_monitors tcp-portmon.cc)
set(optional_sources ${optional_sources} ${port_monitors})
endif(BUILD_PORT_MONITORS)