summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-11-17 19:01:01 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-16 07:59:37 -0800
commitf26df4f80afc199c9a063f280bc60b0cf2006944 (patch)
treeb975e25b4100852f903e5ec9e26c2fa519fdfb98 /cmake
parent268fbf3fb152bba485b4924d2b686889d8b10532 (diff)
downloadsubsurface-f26df4f80afc199c9a063f280bc60b0cf2006944.tar.gz
Move Handling of user manual to Modules directory
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/HandleUserManual.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/Modules/HandleUserManual.cmake b/cmake/Modules/HandleUserManual.cmake
new file mode 100644
index 000000000..eeac35c5b
--- /dev/null
+++ b/cmake/Modules/HandleUserManual.cmake
@@ -0,0 +1,7 @@
+if(NO_USERMANUAL)
+ message(STATUS "building without usermanual")
+ add_definitions(-DNO_USERMANUAL)
+else()
+ set(WEBKIT_PKG WebKitWidgets)
+ set(WEBKIT_LIB Qt5::WebKitWidgets)
+endif()