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