blob: 2c8fbcbf8e42ff6ed17059a77d7f483421d8a4c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Generated by devtools/yamaker from nixpkgs 22.05.
DEFAULT(USE_AIO ${_USE_AIO})
LIBRARY()
WITHOUT_LICENSE_TEXTS()
VERSION(0.3.113)
LICENSE(Service-Dll-Harness)
NO_RUNTIME()
IF (EXPORT_CMAKE)
OPENSOURCE_EXPORT_REPLACEMENT(
CMAKE
AIO
CMAKE_TARGET
AIO::aio
)
ENDIF()
IF (USE_AIO == "dynamic" AND NOT EXPORT_CMAKE)
PEERDIR(
contrib/libs/libaio/dynamic
)
ELSEIF (USE_AIO == "local" OR EXPORT_CMAKE)
GLOBAL_CFLAGS(${USE_LOCAL_AIO_CFLAGS})
DEFAULT(USE_LOCAL_AIO_LDFLAGS -laio)
LDFLAGS(${USE_LOCAL_AIO_LDFLAGS})
ELSE()
PEERDIR(
contrib/libs/libaio/static
)
ENDIF()
END()
IF (USE_AIO != "local" AND NOT EXPORT_CMAKE)
RECURSE(
dynamic
static
)
ENDIF()
|