Mercurial > hg > freeDiameter
view extensions/rt_ignore_dh/CMakeLists.txt @ 1560:9084c6f94a0a
Require cmake 2.8.12 (from 2013) since current cmake warns about older versions.
Remove policy check for CMP0022. The variable INTERFACE_LINK_LIBRARIES it
affects is not used.
author | Thomas Klausner <wiz@gatalith.at> |
---|---|
date | Wed, 16 Jun 2021 18:05:27 +0200 |
parents | a740267f1be6 |
children |
line wrap: on
line source
# The rt_ignore_dh extension PROJECT("Routing extension that removes Destination-Host from messages and restores from Proxy-Info for answers" C) # List of source files SET(RT_IGNORE_DH_SRC rt_ignore_dh.c ) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) # Compile these files as a freeDiameter extension FD_ADD_EXTENSION(rt_ignore_dh ${RT_IGNORE_DH_SRC}) #### ## INSTALL section ## # We install with the daemon component because it is a base feature. INSTALL(TARGETS rt_ignore_dh LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} COMPONENT freeDiameter-daemon)