summaryrefslogtreecommitdiff
path: root/cmake/FindLIBAIO.cmake
blob: db49439f318e4bbfb0b06dd0c736ffe06584dcc5 (plain)
1
2
3
4
5
6
7
find_path(LIBAIO_INCLUDE_DIR NAMES libaio.h)
find_library(LIBAIO_LIBRARIES NAMES aio)

include(FindPackageHandleStandardArgs)
  FIND_PACKAGE_HANDLE_STANDARD_ARGS(
    LIBAIO DEFAULT_MSG
    LIBAIO_LIBRARIES LIBAIO_INCLUDE_DIR)