mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
41 lines
838 B
CMake
41 lines
838 B
CMake
include_directories(${CURL_INCLUDE_DIRS})
|
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=51010)
|
|
|
|
set(kemail_LIB_SRCS
|
|
kemailsettings.cpp
|
|
kemail.cpp
|
|
kemaildialog.cpp
|
|
)
|
|
|
|
add_library(kemail ${LIBRARY_TYPE} ${kemail_LIB_SRCS})
|
|
|
|
target_link_libraries(kemail PUBLIC
|
|
${KDE4_KDECORE_LIBS}
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KPASSWDSTORE_LIBS}
|
|
)
|
|
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}
|
|
COMPONENT Devel
|
|
)
|
|
|
|
install(
|
|
TARGETS kemail
|
|
EXPORT kdelibsLibraryTargets
|
|
${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
)
|