diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2012-11-02 19:14:33 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2012-11-02 19:14:33 +0400 |
commit | 4fbfe7bfef7baaaea56c78720b120bfe4a2907bc (patch) | |
tree | 9728b6cfc928e1c492094642f0451a6cef6777c0 /cmake | |
parent | 46a82b69c5c15e5169843a314c8aa1bbbf282dc2 (diff) |
Installer: Only show license on special request
GPL is a distribution license, and should thus
not be required to be accepted upon installation.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/NSIS.template.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in index 73a22f803..e85bc98a3 100644 --- a/cmake/modules/NSIS.template.in +++ b/cmake/modules/NSIS.template.in @@ -13,7 +13,9 @@ ;----------------------------------------------------------------------------- ; Some installer script options (comment-out options not required) ;----------------------------------------------------------------------------- -!define OPTION_LICENSE_AGREEMENT +!if "@APPLICATION_LICENSE@" != "" + !define OPTION_LICENSE_AGREEMENT +!endif !define OPTION_UAC_PLUGIN_ENHANCED !define OPTION_SECTION_SC_START_MENU !define OPTION_SECTION_SC_DESKTOP |