summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-08-08 02:37:29 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-08-08 02:37:29 -0400
commit82617e7499138077db55a0bc2878e17edd16dd06 (patch)
treed324aec67d34db89dcc9d891b89e38ae98fa5216 /lib/curl_config.h.cmake
parent11049e007abfaa3daad0a6d6548d4923872d54cd (diff)
downloadcurl-82617e7499138077db55a0bc2878e17edd16dd06.tar.gz
cmake: Enable win32 threaded resolver by default
- Turn on USE_THREADS_WIN32 in Windows if ares isn't on This change is similar to what we already do in the autotools build.
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 0aeddf875..f7dbd23c0 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -906,6 +906,9 @@
/* Define if you want to enable POSIX threaded DNS lookup */
#cmakedefine USE_THREADS_POSIX 1
+/* Define if you want to enable WIN32 threaded DNS lookup */
+#cmakedefine USE_THREADS_WIN32 1
+
/* Define to disable non-blocking sockets. */
#cmakedefine USE_BLOCKING_SOCKETS 1