blob: 792afde855a9aa46a7baf512301cc9fb3ca33bd0 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001# The subproject name
2Project("freeDiameter simple daemon" C)
3
4# Since it uses the libfdcore.h, it needs the include dependencies
5INCLUDE_DIRECTORIES(${LFDCORE_INCLUDES})
6
7# Build the executable
8ADD_EXECUTABLE(freeDiameterd main.c)
9
10# The version
11SET_TARGET_PROPERTIES(freeDiameterd PROPERTIES
12 VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV})
13
14# The link command
15TARGET_LINK_LIBRARIES(freeDiameterd libfdproto libfdcore ${GNUTLS_LIBRARIES})
16
17####
18## INSTALL section ##
19
20INSTALL(TARGETS freeDiameterd
21 RUNTIME DESTINATION ${INSTALL_DAEMON_SUFFIX}
22 COMPONENT freeDiameter-daemon)