mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 02:42:51 +00:00
26 lines
705 B
CMake
26 lines
705 B
CMake
find_package(Sasl2)
|
|
set_package_properties(Sasl2 PROPERTIES DESCRIPTION "Cyrus SASL API" URL "http://asg.web.cmu.edu/sasl/sasl-library.html" TYPE REQUIRED PURPOSE "Required to support authentication of logins on ManageSieve servers.")
|
|
|
|
include_directories(${SASL2_INCLUDE_DIR})
|
|
|
|
set(kmanagesieve_LIB_SRCS
|
|
response.cpp
|
|
session.cpp
|
|
sievejob.cpp
|
|
)
|
|
|
|
add_library(kmanagesieve ${LIBRARY_TYPE} ${kmanagesieve_LIB_SRCS})
|
|
|
|
target_link_libraries(kmanagesieve
|
|
${KDE4_KDECORE_LIBS}
|
|
${KDE4_KIO_LIBS}
|
|
${SASL2_LIBRARIES}
|
|
)
|
|
|
|
set_target_properties(
|
|
kmanagesieve PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
install(TARGETS kmanagesieve ${INSTALL_TARGETS_DEFAULT_ARGS})
|