summary refs log tree commit diff
path: root/cmake/Hunter/config.cmake
blob: d735a69d7120555b340e9c174dbbab372e0b84eb (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
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
            CMAKE_USE_SCHANNEL=ON
            BUILD_CURL_TESTS=OFF
            BUILD_CURL_EXE=OFF
            CMAKE_USE_OPENSSL=OFF
            CMAKE_USE_LIBSSH2=OFF
            BUILD_TESTING=OFF
    )
else()
    hunter_config(
        CURL
        VERSION 8.4.0-p0
        CMAKE_ARGS
            CMAKE_USE_SCHANNEL=OFF
            BUILD_CURL_TESTS=OFF
            BUILD_CURL_EXE=OFF
            CMAKE_USE_OPENSSL=ON
            CMAKE_USE_LIBSSH2=OFF
            BUILD_TESTING=OFF
    )
endif()