diff options
author | Anton Lundin <glance@acc.umu.se> | 2019-09-06 23:19:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-11 17:21:50 +0100 |
commit | 6f9c8ea1b79ebae9d95590424df1b71bf9ebd6d9 (patch) | |
tree | 7e5472c807b6fd9031cdb9aedcbf46b254cd2bea /cmake/Modules | |
parent | fcf5333bf2caf8eb34e31b9f7cd1d72bf4797115 (diff) | |
download | subsurface-6f9c8ea1b79ebae9d95590424df1b71bf9ebd6d9.tar.gz |
Find Qt5WebKitWidgets path and use it
When building and installing Qt5WebKitWidgets to a different path than
your other qt libraries, you need to actually look for it and find it to
be able to use it.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/HandleFindGrantlee.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Modules/HandleFindGrantlee.cmake b/cmake/Modules/HandleFindGrantlee.cmake index ab0faf491..becffd9a8 100644 --- a/cmake/Modules/HandleFindGrantlee.cmake +++ b/cmake/Modules/HandleFindGrantlee.cmake @@ -10,5 +10,10 @@ else() find_package(Grantlee5 REQUIRED) set(GRANTLEE_LIBRARIES Grantlee5::Templates) endif() + # Not really grantlee, but rather printing in general LIST(APPEND QT_EXTRA_COMPONENTS PrintSupport) + # Because Qt5WebKitWidgets isn't a part of the "regular" Qt5, we can't get it the normal way + #LIST(APPEND QT_EXTRA_COMPONENTS WebKitWidgets) + find_package(Qt5WebKitWidgets REQUIRED) + set(GRANTLEE_LIBRARIES ${GRANTLEE_LIBRARIES} Qt5::WebKitWidgets) endif() |