mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
45 lines
861 B
CMake
45 lines
861 B
CMake
if(OPENSSL_FOUND)
|
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
|
endif()
|
|
|
|
# for the kded module
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=51004)
|
|
|
|
set(kpasswdstore_LIB_SRCS
|
|
kpasswdstore.cpp
|
|
)
|
|
|
|
add_library(kpasswdstore SHARED ${kpasswdstore_LIB_SRCS})
|
|
|
|
target_link_libraries(kpasswdstore PUBLIC
|
|
${QT_QTDBUS_LIBRARY}
|
|
kdecore
|
|
kdeui
|
|
)
|
|
|
|
set_target_properties(kpasswdstore PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
generate_export_header(kpasswdstore)
|
|
|
|
install(
|
|
FILES
|
|
${CMAKE_CURRENT_BINARY_DIR}/kpasswdstore_export.h
|
|
kpasswdstore.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}
|
|
)
|
|
|
|
install(
|
|
TARGETS kpasswdstore
|
|
EXPORT kdelibsTargets
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
)
|
|
|
|
add_subdirectory(kded)
|