mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:33:24 +00:00
62c6a19744
This can be easily derived from QT_EXTRA_COMPONENTS. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
12 lines
331 B
CMake
12 lines
331 B
CMake
if(NO_USERMANUAL)
|
|
message(STATUS "building without usermanual")
|
|
add_definitions(-DNO_USERMANUAL)
|
|
else()
|
|
if(USE_WEBENGINE)
|
|
message(STATUS "building with QWebEngine")
|
|
list(APPEND QT_EXTRA_COMPONENTS WebEngineWidgets)
|
|
add_definitions(-DUSE_WEBENGINE)
|
|
else()
|
|
list(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
|
|
endif()
|
|
endif()
|