mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: remove building Grantlee cmake
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2dd28e3c8d
commit
7f896ee8d5
3 changed files with 9 additions and 27 deletions
|
@ -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()
|
Loading…
Add table
Add a link
Reference in a new issue