mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

so that files (attachments) can be conveniently chosen via a file dialog Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
46 lines
894 B
CMake
46 lines
894 B
CMake
include_directories(
|
|
${KDE4_KIO_INCLUDES}
|
|
${CMAKE_SOURCE_DIR}/kutils/kpasswdstore
|
|
${CMAKE_BINARY_DIR}/kutils/kpasswdstore
|
|
${CURL_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=51010)
|
|
|
|
set(kemail_LIB_SRCS
|
|
kemailsettings.cpp
|
|
kemail.cpp
|
|
kemaildialog.cpp
|
|
)
|
|
|
|
add_library(kemail SHARED ${kemail_LIB_SRCS})
|
|
|
|
target_link_libraries(kemail PUBLIC
|
|
kdecore
|
|
kdeui
|
|
kpasswdstore
|
|
kio
|
|
)
|
|
target_link_libraries(kemail PRIVATE ${CURL_LIBRARIES})
|
|
|
|
set_target_properties(kemail PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
generate_export_header(kemail)
|
|
|
|
install(
|
|
FILES
|
|
${CMAKE_CURRENT_BINARY_DIR}/kemail_export.h
|
|
kemail.h
|
|
kemaildialog.h
|
|
kemailsettings.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
|
)
|
|
|
|
install(
|
|
TARGETS kemail
|
|
EXPORT kdelibsTargets
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
)
|