]> git.proxmox.com Git - ceph.git/blame - ceph/cmake/modules/Findrocksdb.cmake
bump version to 12.2.12-pve1
[ceph.git] / ceph / cmake / modules / Findrocksdb.cmake
CommitLineData
7c673cae
FG
1# Find the native Rocksdb includes and library
2# This module defines
3# ROCKSDB_INCLUDE_DIR, where to find rocksdb/db.h, Set when
4# ROCKSDB_INCLUDE_DIR is found.
5# ROCKSDB_LIBRARIES, libraries to link against to use Rocksdb.
6# ROCKSDB_FOUND, If false, do not try to use Rocksdb.
7
8find_path(ROCKSDB_INCLUDE_DIR rocksdb/db.h)
9
10find_library(ROCKSDB_LIBRARIES rocksdb)
11
12include(FindPackageHandleStandardArgs)
13find_package_handle_standard_args(rocksdb DEFAULT_MSG
14 ROCKSDB_LIBRARIES ROCKSDB_INCLUDE_DIR)
15
16mark_as_advanced(
17 ROCKSDB_INCLUDE_DIR
18 ROCKSDB_LIBRARIES)