From 3988d0b5dd1614839cee5a6aa23439cc156efe2d Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 25 Jan 2021 15:48:29 +0200 Subject: CMake conversion Signed-off-by: Mavridis Philippe --- src/klammail/CMakeLists.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/klammail/CMakeLists.txt (limited to 'src/klammail/CMakeLists.txt') diff --git a/src/klammail/CMakeLists.txt b/src/klammail/CMakeLists.txt new file mode 100644 index 0000000..235fc9d --- /dev/null +++ b/src/klammail/CMakeLists.txt @@ -0,0 +1,20 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${LIBCLAMAV_INCLUDE_DIR} +) + +##### klammail (executable) + +tde_add_executable( klammail AUTOMOC + + SOURCES + clamdmail.c options.c output.c memory.c cfgparser.c client.c + + LINK + ${LIBCLAMAV_LIBRARIES} + + DESTINATION ${BIN_INSTALL_DIR} +) -- cgit v1.2.1