]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
CMake - fix check for AIO
authorDaniel Gryniewicz <dang@fprintf.net>
Mon, 21 Sep 2015 15:59:30 +0000 (11:59 -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/Findaio.cmake

index ae2e36d3e164bcfbf12dc1c13af1adfb2153f563..da4ac11e071a3a48963e28182855c278298102d9 100644 (file)
@@ -43,3 +43,8 @@ if (AIO_INCLUDE AND AIO_LIBS)
      message(STATUS "${AIO_DIR_MESSAGE}")
    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(aio DEFAULT_MSG AIO_LIBS AIO_INCLUDE)