From: Daniel Gryniewicz Date: Mon, 21 Sep 2015 15:52:48 +0000 (-0400) Subject: CMake - fix check for blkid X-Git-Tag: v9.1.0~84^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6adf1cbb33693b8ef8827919d36c6d7392cb0f35;p=ceph.git CMake - fix check for blkid Signed-off-by: Daniel Gryniewicz --- diff --git a/cmake/modules/Findblkid.cmake b/cmake/modules/Findblkid.cmake index aa1518b5da369..08ef0fcd9256e 100644 --- a/cmake/modules/Findblkid.cmake +++ b/cmake/modules/Findblkid.cmake @@ -46,6 +46,11 @@ else () endif () endif () +# handle the QUIETLY and REQUIRED arguments and set UUID_FOUND to TRUE if +# all listed variables are TRUE +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(blkid DEFAULT_MSG BLKID_LIBRARIES BLKID_INCLUDE_DIR) + mark_as_advanced( BLKID_LIBRARY BLKID_I