aboutsummaryrefslogtreecommitdiff
path: root/cmake/NNGOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/NNGOptions.cmake')
-rw-r--r--cmake/NNGOptions.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/NNGOptions.cmake b/cmake/NNGOptions.cmake
index abb3f03d..183e9d92 100644
--- a/cmake/NNGOptions.cmake
+++ b/cmake/NNGOptions.cmake
@@ -106,6 +106,11 @@ if (NNG_ENABLE_HTTP)
endif()
mark_as_advanced(NNG_ENABLE_HTTP)
+# Some sites or kernels lack IPv6 support. This override allows us
+# to prevent the use of IPv6 in environments where it isn't supported.
+option (NNG_ENABLE_IPV6 "Enable IPv6." ON)
+mark_as_advanced(NNG_ENABLE_IPV6)
+
#
# Transport Options.
#