[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kio-extras/Applications/17.04] thumbnail: Add set_package_properties for Qt5WebEngineWidgets
From:       Luca Beltrame <null () kde ! org>
Date:       2017-04-25 8:06:11
Message-ID: E1d2vUB-0007Pc-74 () code ! kde ! org
[Download RAW message or body]

Git commit aebd6f645f127c060038882d77812054b76d26c0 by Luca Beltrame.
Committed on 25/04/2017 at 08:05.
Pushed by lbeltrame into branch 'Applications/17.04'.

Add set_package_properties for Qt5WebEngineWidgets

Otherwise it's not clear what it's needed for.

M  +5    -1    thumbnail/CMakeLists.txt

https://commits.kde.org/kio-extras/aebd6f645f127c060038882d77812054b76d26c0

diff --git a/thumbnail/CMakeLists.txt b/thumbnail/CMakeLists.txt
index 90298932..08451e3d 100644
--- a/thumbnail/CMakeLists.txt
+++ b/thumbnail/CMakeLists.txt
@@ -95,6 +95,10 @@ install(TARGETS textthumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
 ############ next target ###############
 
 find_package(Qt5WebEngineWidgets 5.7.0 QUIET)
+set_package_properties(Qt5WebEngineWidgets PROPERTIES
+                       TYPE OPTIONAL
+                       PURPOSE "Provides support for HTML previews in the thumbnail ioslave"
+                      )
 
 if (Qt5WebEngineWidgets_FOUND)
 
@@ -242,6 +246,6 @@ install(FILES
 
 if (Qt5WebEngineWidgets_FOUND)
    install(FILES htmlthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR})
- 
+
 endif()
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic