]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: detect bzip2 and lz4 for rocksdb 7126/head
authorKefu Chai <kchai@redhat.com>
Wed, 6 Jan 2016 11:37:49 +0000 (19:37 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 7 Jan 2016 12:33:06 +0000 (04:33 -0800)
commit3ded44dc2daf6bd3718fd80b8a07eef8c60d87e7
tree1ce3473852b5bb416c5ae7ffb12ff82942225d25
parent3626d86de6ac41588e50003f07dcadfd8e1ab33a
cmake: detect bzip2 and lz4 for rocksdb

* this change is the cmake port of 911e7a0.
  the rocksdb's Makefile will detect the installed libbz2 and libz4 by
  its own. if the building env happens to have these libraries installed,
  a link time dependency is introduced. so we are forced to link against
  them.
* do not REQUIRE BZip2 in cmake anymore
* only link against bzip2 if it is detected

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