summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
blob: 79065a4e8c28da331166b1b66a82a054c41a0d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
###########################################
# build and install afb-client-demo
###########################################
PKG_CHECK_MODULES(libsystemd libsystemd>=222)
PKG_CHECK_MODULES(libafbwsc libafbwsc>=5.99)

ADD_EXECUTABLE(agl-service-network-ctl agl-service-network-ctl.c)

TARGET_LINK_LIBRARIES(agl-service-network-ctl
	${link_libraries}
	${libsystemd_LDFLAGS}
	${libafbwsc_LDFLAGS}
)
INSTALL(TARGETS agl-service-network-ctl
        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})