summary refs log tree commit diff
path: root/cmake/Hunter/config.cmake
blob: 3d5dd00f5d94065f71cc738a00c12c067e460045 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
hunter_config(
    nlohmann_json
    VERSION 3.11.2
    CMAKE_ARGS JSON_MultipleHeaders=ON
)

if (WIN32)
    hunter_config(
        CURL
        VERSION 8.4.0-p0
        CMAKE_ARGS
            BUILD_CURL_TESTS=OFF
            BUILD_CURL_EXE=OFF
            CURL_USE_SCHANNEL=ON
            CURL_USE_OPENSSL=OFF
            CURL_USE_LIBSSH2=OFF
            CURL_DISABLE_FTP=ON
            CURL_DISABLE_FTP=ON
            CURL_DISABLE_FILE=ON
            CURL_DISABLE_TELNET=ON
            CURL_DISABLE_LDAP=ON
            CURL_DISABLE_DICT=ON
            CURL_DISABLE_TFTP=ON
            CURL_DISABLE_GOPHER=ON
            CURL_DISABLE_POP3=ON
            CURL_DISABLE_IMAP=ON
            CURL_DISABLE_SMB=ON
            CURL_DISABLE_SMTP=ON
            CURL_DISABLE_RTSP=ON
            CURL_USE_LIBRTMP=OFF
            CURL_DISABLE_MQTT=ON
            BUILD_TESTING=OFF
    )
else()
    hunter_config(
        CURL
        VERSION 8.4.0-p0
        CMAKE_ARGS
            BUILD_CURL_TESTS=OFF
            BUILD_CURL_EXE=OFF
            CURL_USE_SCHANNEL=OFF
            CURL_USE_OPENSSL=ON
            CURL_USE_LIBSSH2=OFF
            CURL_DISABLE_FTP=ON
            CURL_DISABLE_FTP=ON
            CURL_DISABLE_FILE=ON
            CURL_DISABLE_TELNET=ON
            CURL_DISABLE_LDAP=ON
            CURL_DISABLE_DICT=ON
            CURL_DISABLE_TFTP=ON
            CURL_DISABLE_GOPHER=ON
            CURL_DISABLE_POP3=ON
            CURL_DISABLE_IMAP=ON
            CURL_DISABLE_SMB=ON
            CURL_DISABLE_SMTP=ON
            CURL_DISABLE_RTSP=ON
            CURL_USE_LIBRTMP=OFF
            CURL_DISABLE_MQTT=ON
            BUILD_TESTING=OFF
    )
endif()