diff options
author | Christian Kamm <mail@ckamm.de> | 2019-03-07 12:58:40 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2019-03-14 10:11:47 +0300 |
commit | 7d34d3bc76664a419db71609e7864aae4799706f (patch) | |
tree | f4dbc22a45956b72158c81c6e3a1d8b870921fd7 /config.h.in | |
parent | 91bce376a345cef1c844a8bc00511ce8c50c05a7 (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 68143d943..2cddd8f6c 100644 --- a/config.h.in +++ b/config.h.in @@ -25,5 +25,6 @@ #cmakedefine SYSCONFDIR "@SYSCONFDIR@" #cmakedefine SHAREDIR "@SHAREDIR@" +#cmakedefine PLUGINDIR "@PLUGINDIR@" #endif |