]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: use NUMA for package name in FindNUMA.cmake
authorKefu Chai <kchai@redhat.com>
Sun, 14 Feb 2021 07:51:05 +0000 (15:51 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Feb 2021 15:11:33 +0000 (23:11 +0800)
commitb502f69ca22c33ac856a46b1ec176df250121aa6
tree21df79b5afef205387021c1137802d3139b8bbc2
parent2569fc7f5fce15b3f7e23b6aba7cb27800afe992
cmake: use NUMA for package name in FindNUMA.cmake

to address the warning from cmake, like

CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (numa) does
  not match the name of the calling package (NUMA).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/FindNUMA.cmake