Warning, /pim/kdepim-runtime/resources/maildir/libmaildir/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 if (BUILD_TESTING)
0003     add_subdirectory( autotests )
0004 endif()
0005 
0006 add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_maildir_resource\")
0007 
0008 set(maildir_LIB_SRCS keycache.cpp maildir.cpp keycache.h maildir.h)
0009 ecm_qt_declare_logging_category(maildir_LIB_SRCS HEADER libmaildir_debug.h IDENTIFIER LIBMAILDIR_LOG CATEGORY_NAME org.kde.pim.libmaildir
0010     DESCRIPTION "libmaildir (kdepim-runtime)"
0011     OLD_CATEGORY_NAMES log_libmaildir
0012     EXPORT KDEPIMRUNTIME
0013     )
0014 
0015 
0016 
0017 add_library(maildir  ${maildir_LIB_SRCS})
0018 generate_export_header(maildir BASE_NAME maildir)
0019 
0020 target_link_libraries(maildir
0021     PUBLIC
0022     KPim6::AkonadiMime
0023     PRIVATE
0024     KF6::I18n
0025     Qt::Network
0026     )
0027 
0028 set_target_properties(maildir PROPERTIES VERSION ${KDEPIMRUNTIME_LIB_VERSION} SOVERSION ${KDEPIMRUNTIME_LIB_SOVERSION} )
0029 
0030 install(TARGETS maildir ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)