X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fcmake%2Fmodules%2FFindfio.cmake;fp=src%2Fceph%2Fcmake%2Fmodules%2FFindfio.cmake;h=194f9191b00d7c49305786e3e329cd56fed7a3b4;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/cmake/modules/Findfio.cmake b/src/ceph/cmake/modules/Findfio.cmake new file mode 100644 index 0000000..194f919 --- /dev/null +++ b/src/ceph/cmake/modules/Findfio.cmake @@ -0,0 +1,12 @@ +# - Find Fio +# Find the fio includes +# +# FIO_INCLUDE_DIR - where to find fio.h +# FIO_FOUND - True if fio is found. + +find_path(FIO_INCLUDE_DIR NAMES fio.h HINTS ${FIO_ROOT_DIR}) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(fio DEFAULT_MSG FIO_INCLUDE_DIR) + +mark_as_advanced(FIO_INCLUDE_DIR)