2020-10-27 19:45:28 +03:00
|
|
|
hunter_config(
|
|
|
|
nlohmann_json
|
2023-10-29 23:11:41 +03:00
|
|
|
VERSION 3.11.2
|
2020-10-27 19:45:28 +03:00
|
|
|
CMAKE_ARGS JSON_MultipleHeaders=ON
|
|
|
|
)
|
2021-07-08 00:05:39 +03:00
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
hunter_config(
|
|
|
|
CURL
|
2023-10-29 23:01:16 +03:00
|
|
|
VERSION 8.4.0-p0
|
2021-07-08 00:05:39 +03:00
|
|
|
CMAKE_ARGS
|
|
|
|
BUILD_CURL_TESTS=OFF
|
|
|
|
BUILD_CURL_EXE=OFF
|
2023-10-31 23:11:10 +03:00
|
|
|
CURL_USE_SCHANNEL=ON
|
|
|
|
CURL_USE_OPENSSL=OFF
|
|
|
|
CURL_USE_LIBSSH2=OFF
|
2023-11-11 00:01:34 +03:00
|
|
|
CURL_USE_LIBPSL=OFF
|
2023-10-31 23:11:10 +03:00
|
|
|
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
|
2021-07-08 00:05:39 +03:00
|
|
|
BUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
hunter_config(
|
|
|
|
CURL
|
2023-10-29 23:01:16 +03:00
|
|
|
VERSION 8.4.0-p0
|
2021-07-08 00:05:39 +03:00
|
|
|
CMAKE_ARGS
|
|
|
|
BUILD_CURL_TESTS=OFF
|
|
|
|
BUILD_CURL_EXE=OFF
|
2023-10-31 23:11:10 +03:00
|
|
|
CURL_USE_SCHANNEL=OFF
|
|
|
|
CURL_USE_OPENSSL=ON
|
|
|
|
CURL_USE_LIBSSH2=OFF
|
2023-11-11 00:01:34 +03:00
|
|
|
CURL_USE_LIBPSL=OFF
|
2023-10-31 23:11:10 +03:00
|
|
|
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
|
2021-07-08 00:05:39 +03:00
|
|
|
BUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
endif()
|