]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CMake - fix check for blkid
authorDaniel Gryniewicz <dang@fprintf.net>
Mon, 21 Sep 2015 15:52:48 +0000 (11:52 -0400)
committerDaniel Gryniewicz <dang@fprintf.net>
Wed, 23 Sep 2015 14:55:54 +0000 (10:55 -0400)
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
cmake/modules/Findblkid.cmake

index aa1518b5da369996274481e88f92fe77b6b3c7de..08ef0fcd9256ee7426551c0b6294cfe4252f8f02 100644 (file)
@@ -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