]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/tools: only build dedup tool if WITH_TESTS is set 26536/head
authorTim Serong <tserong@suse.com>
Wed, 20 Feb 2019 06:45:31 +0000 (17:45 +1100)
committerTim Serong <tserong@suse.com>
Wed, 20 Feb 2019 07:24:32 +0000 (18:24 +1100)
commit124ba674c2bea2139743998d0a7d0155f50ee578
tree8fbe4825e4464f97beca8f5792084ea874d74a2b
parentfc22d352f543279177198bd46ab39a7c08459a26
src/tools: only build dedup tool if WITH_TESTS is set

We need to only build the dedup tool if WITH_TESTS is set.
Otherwise, when building an RPM *without* tests enabled, the build
will fail with "error: Installed (but unpackaged) file(s) found:
/usr/bin/cephdeduptool".

Signed-off-by: Tim Serong <tserong@suse.com>
src/tools/CMakeLists.txt