From: Daniel Gryniewicz Date: Mon, 21 Sep 2015 15:59:30 +0000 (-0400) Subject: CMake - fix check for AIO X-Git-Tag: v9.1.0~84^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=571215ef20d5c8f251a6a658986023507f6b7a7c;p=ceph.git CMake - fix check for AIO Signed-off-by: Daniel Gryniewicz --- diff --git a/cmake/modules/Findaio.cmake b/cmake/modules/Findaio.cmake index ae2e36d3e16..da4ac11e071 100644 --- a/cmake/modules/Findaio.cmake +++ b/cmake/modules/Findaio.cmake @@ -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)