summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-07 12:37:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-08 12:19:39 -0700
commit7f896ee8d50152e85c6f40ff800c5ad8f9ba4124 (patch)
tree560d56def7f66b72f068b0d15c3b4290427977a6 /cmake
parent2dd28e3c8d280f16fb073ac8b343ef5be2f0210b (diff)
downloadsubsurface-7f896ee8d50152e85c6f40ff800c5ad8f9ba4124.tar.gz
build-system: remove building Grantlee cmake
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/HandleFindGrantlee.cmake19
1 files changed, 0 insertions, 19 deletions
diff --git a/cmake/Modules/HandleFindGrantlee.cmake b/cmake/Modules/HandleFindGrantlee.cmake
deleted file mode 100644
index becffd9a8..000000000
--- a/cmake/Modules/HandleFindGrantlee.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-if(NO_PRINTING)
- message(STATUS "building without printing support")
- add_definitions(-DNO_PRINTING)
- set(GRANTLEE_LIBRARIES "")
-else()
- if(LIBGRANTLEE_FROM_PKGCONFIG)
- pkg_config_library(GRANTLEE libgrantlee REQUIRED)
- set(GRANTLEE_LIBRARIES "")
- 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()