]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: do not link against profiler if gperftools is found
authorKefu Chai <kchai@redhat.com>
Mon, 25 Jul 2016 08:18:46 +0000 (16:18 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 25 Jul 2016 08:22:20 +0000 (16:22 +0800)
commit8268d1ba6aaa6e8552040e95c8bd6d6d6e035c81
tree0960ac9ae6be72c19a85f3990cc2f189d733ee26
parent07206f3173699d733d5cca156a103ecd4ee3cc38
cmake: do not link against profiler if gperftools is found

this behaviour matches the autotools. and we should not enable profiling
unless asked to do so.

Fixes: http://tracker.ceph.com/issues/16804
Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
src/CMakeLists.txt