1 ########### Configure checks for kwalletbackend ###############
3 check_include_files(stdint.h HAVE_STDINT_H)
4 check_include_files(sys/bitypes.h HAVE_SYS_BITYPES_H)
6 configure_file (config-kwalletbackend.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwalletbackend.h )
8 ########### kwalletbackend ###############
10 set(kwalletbackend_LIB_SRCS
19 kde4_add_library(kwalletbackend SHARED ${kwalletbackend_LIB_SRCS})
21 target_link_libraries(kwalletbackend ${KDE4_KDEUI_LIBS} )
23 # link with advapi32 on windows
25 target_link_libraries(kwalletbackend advapi32)
28 set_target_properties(kwalletbackend PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
29 install(TARGETS kwalletbackend ${INSTALL_TARGETS_DEFAULT_ARGS})
31 add_subdirectory(tests)