]> git.proxmox.com Git - ceph.git/blame - ceph/cmake/modules/Findblkid.cmake
update sources to v12.1.3
[ceph.git] / ceph / cmake / modules / Findblkid.cmake
CommitLineData
7c673cae
FG
1# Copyright (C) 2007-2012 Hypertable, Inc.
2#
3# This file is part of Hypertable.
4#
5# Hypertable is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License
7# as published by the Free Software Foundation; either version 3
8# of the License, or any later version.
9#
10# Hypertable is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with Hypertable. If not, see <http://www.gnu.org/licenses/>
17#
18
19# - Find libblkid
20# Find the blkid library and includes
21#
22# BLKID_INCLUDE_DIR - where to find blkid.h, etc.
23# BLKID_LIBRARIES - List of libraries when using blkid.
24# BLKID_FOUND - True if blkid found.
25
26find_path(BLKID_INCLUDE_DIR blkid/blkid.h)
27
28find_library(BLKID_LIBRARIES blkid)
29
30include(FindPackageHandleStandardArgs)
31find_package_handle_standard_args(blkid DEFAULT_MSG BLKID_LIBRARIES BLKID_INCLUDE_DIR)
32
33mark_as_advanced(BLKID_LIBRARIES BLKID_INCLUDE_DIR)