]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: refactor RocksDB related script
authorKefu Chai <kchai@redhat.com>
Mon, 6 Aug 2018 09:55:02 +0000 (17:55 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 6 Aug 2018 11:37:43 +0000 (19:37 +0800)
commit5a71bbbe5921c26bdc24cd811d5c39efb191dbc2
treede90c9373d6ca09eb3a7e9cd90e56f6f77ab8a81
parentc325327e61287147e8b6181b05d890c903864406
cmake: refactor RocksDB related script

* rename Findrocksdb.cmake to FindRocksDB.cmake to match its name
* add RocksDB::RocksDB target to BuildRocksDB.cmake and
  FindRocksDB.cmake
* use RocksDB::RocksDB target instead of accessing its property
  directly, and do not link against its dependencies explicitly.
  let its INTERFACE_LINK_LIBRARIES do the job.

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
cmake/modules/BuildRocksDB.cmake
cmake/modules/FindRocksDB.cmake [new file with mode: 0644]
cmake/modules/Findrocksdb.cmake [deleted file]
src/kv/CMakeLists.txt
src/os/CMakeLists.txt