Commit a5daca8c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use more target-centric cmake code

parent 7c34faf3
Pipeline #63174 passed with stage
in 2 minutes and 24 seconds
set(KDE_INSTALL_INCLUDEDIR_PIM ${KDE_INSTALL_INCLUDEDIR}/KPim)
set(pkpass_srcs
add_library(KPimPkPass)
add_library(KPim::PkPass ALIAS KPimPkPass)
target_sources(KPimPkPass PRIVATE
barcode.cpp
boardingpass.cpp
field.cpp
......@@ -7,16 +10,13 @@ set(pkpass_srcs
pass.cpp
)
ecm_qt_declare_logging_category(pkpass_srcs
ecm_qt_declare_logging_category(KPimPkPass
HEADER logging.h
IDENTIFIER KPkPass::Log
CATEGORY_NAME org.kde.pkpass
DESCRIPTION "KPkPass" EXPORT KPKPASS)
add_library(KPimPkPass ${pkpass_srcs})
add_library(KPim::PkPass ALIAS KPimPkPass)
generate_export_header(KPimPkPass BASE_NAME KPkPass)
set_target_properties(KPimPkPass PROPERTIES
VERSION ${KPKPASS_VERSION}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment