Make it possible to use a distinct selection model in the foldertreewidget.
[kdepim.git] / libksieve / CMakeLists.txt
blob3f2195d01252d928bf580c1391da38d0e0bfdd85
1 include(CheckTypeSize)
2 check_type_size("unsigned long" SIZEOF_UNSIGNED_LONG)
3 configure_file(config-libksieve.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-libksieve.h )
5 include_directories( ${CMAKE_SOURCE_DIR}/libkdepim )
7 set(libksieve_parser_SRCS
8     ${CMAKE_SOURCE_DIR}/libksieve/parser/utf8validator.cpp
9     ${CMAKE_SOURCE_DIR}/libksieve/parser/lexer.cpp
10     ${CMAKE_SOURCE_DIR}/libksieve/parser/parser.cpp
11     )
13 add_subdirectory( ksieve )
14 add_subdirectory( tests )
16 ########### next target ###############
18 set(ksieve_LIB_SRCS
19     ${CMAKE_SOURCE_DIR}/libksieve/shared/error.cpp
20     ${libksieve_parser_SRCS})
23 kde4_add_library(ksieve SHARED ${ksieve_LIB_SRCS})
25 target_link_libraries(ksieve ${KDE4_KDECORE_LIBS})
27 set_target_properties(ksieve PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
28 install(TARGETS ksieve ${INSTALL_TARGETS_DEFAULT_ARGS})