subsurface/cmake/Modules/HandleUserManual.cmake

15 lines
440 B
CMake
Raw Normal View History

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)
list(APPEND QT_EXTRA_LIBRARIES Qt5::WebEngineWidgets)
add_definitions(-DUSE_WEBENGINE)
else()
list(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
list(APPEND QT_EXTRA_LIBRARIES Qt5::WebKitWidgets)
endif()
endif()