File: FindLiburing.cmake

package info (click to toggle)
pgagroal 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,384 kB
  • sloc: ansic: 39,090; sh: 684; python: 272; makefile: 36; sql: 13
file content (18 lines) | stat: -rw-r--r-- 388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# - Try to find liburing
# Once done this will define
#  LIBURING_FOUND   - System has liburing
#  LIBURING_LIBRARY - The library needed to use liburing

FIND_LIBRARY(LIBURING_LIBRARY NAMES liburing liburing.a liburing.so liburing.so.2
   HINTS
   /usr/lib64
   /usr/lib
   /lib64
   /lib
)

IF (LIBURING_LIBRARY)
   SET(LIBURING_FOUND TRUE)
ELSE ()
   SET(LIBURING_FOUND FALSE)
ENDIF ()