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}
)