kde-extraapps/ark/kerfuffle/CMakeLists.txt
Ivailo Monev ce8f93a26f generic: purge Qt support with fire
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 13:03:19 +00:00

41 lines
848 B
CMake

########### next target ###############
set(kerfuffle_SRCS
archive.cpp
archiveinterface.cpp
jobs.cpp
extractiondialog.cpp
adddialog.cpp
queries.cpp
addtoarchive.cpp
cliinterface.cpp
extractiondialog.ui
adddialog.ui
)
kde4_add_kcfg_files(kerfuffle_SRCS settings.kcfgc)
add_library(kerfuffle SHARED ${kerfuffle_SRCS})
target_link_libraries(kerfuffle
${KDE4_KFILE_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_KPTY_LIBS}
)
set_target_properties(kerfuffle PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
install(TARGETS kerfuffle ${INSTALL_TARGETS_DEFAULT_ARGS})
install(
FILES kerfufflePlugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
)
install(
FILES ark.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
if (ENABLE_TESTING)
add_subdirectory(tests)
endif ()