aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/HandleUserManual.cmake
blob: a9354be2b159ea0f61ff8b8383e55a2fe64eeb14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()