nheko/cmake/Hunter/config.cmake

32 lines
676 B
CMake
Raw Normal View History

2020-10-27 17:45:28 +01:00
hunter_config(
nlohmann_json
2023-10-29 19:57:22 +01:00
VERSION 3.11.1
2020-10-27 17:45:28 +01:00
CMAKE_ARGS JSON_MultipleHeaders=ON
)
if (WIN32)
hunter_config(
CURL
2023-10-29 21:01:16 +01:00
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
2023-10-29 21:01:16 +01:00
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()