diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2015-09-03 15:20:32 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-09-08 15:49:15 +0200 |
commit | 1b8a5afe783e3b06b5d516eb56524c5923860219 (patch) | |
tree | 560b26f55f2da5007a0cb653c61dbc9439560943 | |
parent | 87e533ace035849c612968fbad0a55dc93a93185 (diff) |
cmake: IPv6 : disable Unix header check on Windows platform
Closes #409
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2206a6b91..5b01ad180 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ option(DISABLED_THREADSAFE "Set to explicitly specify we don't want to use threa mark_as_advanced(DISABLED_THREADSAFE) option(ENABLE_IPV6 "Define if you want to enable IPv6 support" ON) mark_as_advanced(ENABLE_IPV6) -if(ENABLE_IPV6) +if(ENABLE_IPV6 AND NOT WIN32) include(CheckStructHasMember) check_struct_has_member("struct sockaddr_in6" sin6_addr "netinet/in.h" HAVE_SOCKADDR_IN6_SIN6_ADDR) |