mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
e25accff7d
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
16 lines
357 B
CMake
16 lines
357 B
CMake
# Try to find libpmem
|
|
#
|
|
# Once done, this will define
|
|
#
|
|
# PMEM_FOUND
|
|
# PMEM_INCLUDE_DIR
|
|
# PMEM_LIBRARY
|
|
|
|
find_path(PMEM_INCLUDE_DIR NAMES libpmem.h)
|
|
find_library(PMEM_LIBRARY NAMES pmem)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(pmem DEFAULT_MSG PMEM_LIBRARY PMEM_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(PMEM_INCLUDE_DIR PMEM_LIBRARY)
|