]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: add "WITH_PROFILER" option
authorKefu Chai <kchai@redhat.com>
Wed, 20 Jul 2016 05:48:54 +0000 (13:48 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Jul 2016 06:47:52 +0000 (14:47 +0800)
commitcf6dcf0ae7a21c88de8589dce83abb36baf8d716
tree2ac2e17f4369d89e627b4800e13a984121338503
parent8582aa8608f41634bc3d8683d18e258c3009610c
cmake: add "WITH_PROFILER" option

this option matches '--with-profiler' option in autoconf. and it is off
by default. we should not link against libprofiler unless asked to do
so. this change fixes this problem.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt