summary refs log tree commit diff
path: root/cmake/Hunter/config.cmake
diff options
context:
space:
mode:
authorJoe <rubberduckie3554@gmail.com>2021-07-07 17:05:39 -0400
committerJoe <rubberduckie3554@gmail.com>2021-07-07 17:05:39 -0400
commit4ff0775a226093de9702d63bd387d10894625813 (patch)
tree4babba8374b0957a2d323b518247eac43fcb8d66 /cmake/Hunter/config.cmake
parentFix cmake template define issue (diff)
downloadnheko-4ff0775a226093de9702d63bd387d10894625813.tar.xz
Get SChannel CURL backend working for coeurl on Windows
Diffstat (limited to '')
-rw-r--r--cmake/Hunter/config.cmake49
1 files changed, 46 insertions, 3 deletions
diff --git a/cmake/Hunter/config.cmake b/cmake/Hunter/config.cmake
index 4cdeee97..d7030d41 100644
--- a/cmake/Hunter/config.cmake
+++ b/cmake/Hunter/config.cmake
@@ -1,9 +1,52 @@
+
 hunter_config(
-    Boost
-    VERSION  "1.70.0-p1"
-    CMAKE_ARGS IOSTREAMS_NO_BZIP2=1
+    spdlog
+    VERSION 1.8.0-p1
 )
+
+hunter_config(
+    lmdb
+    VERSION 0.9.21-p2
+)
+
+hunter_config(
+    OpenSSL
+    VERSION 1.1.1j
+)
+
+hunter_config(
+    Libevent
+    VERSION 2.1.8-p4
+)
+
 hunter_config(
     nlohmann_json
+    VERSION 3.8.0
     CMAKE_ARGS JSON_MultipleHeaders=ON
 )
+
+if (WIN32)
+    hunter_config(
+        CURL
+        VERSION 7.74.0-p2
+        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 7.74.0-p2
+        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()