]> git.proxmox.com Git - ceph.git/blame - ceph/cmake/modules/FindNUMA.cmake
import 15.2.9
[ceph.git] / ceph / cmake / modules / FindNUMA.cmake
CommitLineData
9f95a23c
TL
1# - Find libnuma
2# Find the numa library and includes
3#
4# NUMA_INCLUDE_DIR - where to find numa.h, etc.
5# NUMA_LIBRARIES - List of libraries when using numa.
6# NUMA_FOUND - True if numa found.
7
8find_path(NUMA_INCLUDE_DIR numa.h)
9find_library(NUMA_LIBRARIES numa)
10
11include(FindPackageHandleStandardArgs)
12find_package_handle_standard_args(numa DEFAULT_MSG NUMA_LIBRARIES NUMA_INCLUDE_DIR)
13
14mark_as_advanced(
15 NUMA_LIBRARIES
16 NUMA_INCLUDE_DIR)