diff options
author | Christian Kamm <mail@ckamm.de> | 2019-03-07 12:58:40 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:58:43 +0300 |
commit | cc840534c04245345b4be92efb5e0a8d7d85410d (patch) | |
tree | 5a021877b3255389fee15872d5dced50fb865845 /config.h.in | |
parent | 87bd26bf6cc0e6f68e6cafca9c7c1a219aa026b5 (diff) |
Add PLUGINDIR cmake setting and define #7027
By default, plugins are only searched next to the binary or next to the
other Qt plugins. This optional build variable allows another path to be
configured.
The idea is that on linux the oC packaging probably wants the binary in
something like /opt/owncloud/bin and the plugins in
/opt/owncloud/lib/plugins.
Similarly, distribution packagers probably don't want the plugins next
to the binary or next to the other Qt plugins. This flag allows them to
configure another path that the executable will look in.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index c645c0be6..2dcf2d6f1 100644 --- a/config.h.in +++ b/config.h.in @@ -33,5 +33,6 @@ #cmakedefine SYSCONFDIR "@SYSCONFDIR@" #cmakedefine SHAREDIR "@SHAREDIR@" +#cmakedefine PLUGINDIR "@PLUGINDIR@" #endif |