diff options
author | Olivier Goffart <olivier@woboq.com> | 2016-09-11 17:14:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-11 17:14:08 +0300 |
commit | 1d09f6b60fa1a56e9e42f28cc20bf305e4d327f2 (patch) | |
tree | aebc1b4732fd3785c97280393803451bca1fd1bb /CMakeLists.txt | |
parent | 98268d102fb343c103cbb4fb28dedd390f3c9ecf (diff) |
Allow to disable Shiboleth to build without QtWebkit (#5166)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e3eb08bd3..c7429278f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,6 +136,13 @@ if(OWNCLOUD_RESTORE_RENAME) add_definitions(-DOWNCLOUD_RESTORE_RENAME=1) endif() +# Disable shibboleth. +# So the client can be built without QtWebKit +option(NO_SHIBBOLETH "Build without Shibboleth support. Allow to build the client without QtWebKit" OFF) +if(NO_SHIBBOLETH) + message("Compiling without shibboleth") + add_definitions(-DNO_SHIBBOLETH=1) +endif() if(APPLE) set( SOCKETAPI_TEAM_IDENTIFIER_PREFIX "" CACHE STRING "SocketApi prefix (including a following dot) that must match the codesign key's TeamIdentifier/Organizational Unit" ) |