mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: allow adaptive building without WebKit
This should avoid build failures on platforms where we don't know if QtWebKit will be available or not. The options for printing and user manual are awkward to work with. This all needs to be cleaned up at some point. Right. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21de82144a
commit
4bac5dbb66
2 changed files with 21 additions and 12 deletions
|
@ -1,6 +0,0 @@
|
|||
if(NO_USERMANUAL)
|
||||
message(STATUS "building without usermanual")
|
||||
add_definitions(-DNO_USERMANUAL)
|
||||
else()
|
||||
list(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue