]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Debian: remove unused cmake options
authorPeter Wu <peter@lekensteyn.nl>
Sat, 18 Jan 2020 18:56:32 +0000 (18:56 +0000)
committerPeter Wu <peter@lekensteyn.nl>
Sat, 18 Jan 2020 19:56:15 +0000 (19:56 +0000)
GD (off by default) and TORCH (on by default) were removed in 2.0, the
examples option (off by default) was removed in 2.2.

debian/rules

index 8229f262308eb7497a1d529b3e8da1397ab5ea2b..d78c8ee5afa37c9b3865e38e3ec5ec3700fb01db 100755 (executable)
@@ -20,18 +20,14 @@ override_dh_auto_configure:
                -DDBDIR=/var/lib/rspamd \
                -DLOGDIR=/var/log/rspamd \
                -DSHAREDIR=/usr/share/rspamd \
-               -DEXAMPLESDIR=/usr/share/doc/rspamd/examples \
                -DLIBDIR=/usr/lib/rspamd \
                -DINCLUDEDIR=/usr/include \
                -DSYSTEMDDIR=/lib/systemd/system \
                -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
                -DDEBIAN_BUILD=1 \
-               -DINSTALL_EXAMPLES=ON \
                -DENABLE_JEMALLOC=ON \
-               -DENABLE_GD=OFF \
                -DENABLE_PCRE2=OFF \
                -DENABLE_LUAJIT=ON \
-               -DENABLE_TORCH=ON \
                -DENABLE_LIBUNWIND=ON \
                -DWANT_SYSTEMD_UNITS=ON \
                $(ENABLE_HYPERSCAN)