aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn/ya.make
blob: 876e67502699beb7f0aabaaa3ace63259921c750 (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
46
OWNER(
    g:contrib
    g:cpp-contrib
)

LIBRARY()

LICENSE(Service-Dll-Harness)

WITHOUT_LICENSE_TEXTS()

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.9)

NO_RUNTIME()

NO_COMPILER_WARNINGS()

OPENSOURCE_EXPORT_REPLACEMENT(
    CMAKE libidn
    CMAKE_TARGET libidn::libidn
    CONAN libidn/1.36
    CONAN_OPTIONS libidn:shared=True
)

IF (NOT EXPORT_CMAKE)

IF (USE_DYNAMIC_IDN)
    PEERDIR(
        contrib/libs/libidn/dynamic
    )
ELSE()
    PEERDIR(
        contrib/libs/libidn/static
    )
ENDIF()

ENDIF()

END()

RECURSE(
    dynamic
    static
)