From 0fa058098fcc6548663d548c702fafcb599b506b Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sun, 22 Nov 2020 12:38:10 +0100 Subject: [PATCH] Use set_package_properties --- CMakeLists.txt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa604322e..fde37a8fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,8 +36,21 @@ else() find_package(Qt5Keychain REQUIRED) endif() -find_package(Quotient 0.6 REQUIRED) -find_package(cmark REQUIRED) +find_package(Quotient 0.6) +set_package_properties(Quotient PROPERTIES + TYPE REQUIRED + DESCRIPTION "Qt wrapper arround Matrix API" + URL "https://github.com/quotient-im/libQuotient/" + PURPOSE "Talk with matrix server" +) + +find_package(cmark) +set_package_properties(cmark PROPERTIES + TYPE REQUIRED + DESCRIPTION "Cmark is the common mark reference implementation" + URL "https://github.com/commonmark/cmark" + PURPOSE "Convert markdown to html" +) install(PROGRAMS org.kde.neochat.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES org.kde.neochat.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})