From 25a5462dca99b0f8317e6a08194a56dd5fe1a458 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Tue, 3 Mar 2009 14:17:52 +0100 Subject: Allow optional ipv6 build, how comes that so far noone screamed that the support is not in... --- src/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index afcf171..a82ae56 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -83,6 +83,13 @@ SET ( SRC_server # INCLUDE CONFIGURED HEADERS ############################################################################### INCLUDE_DIRECTORIES ( ${CMAKE_BINARY_DIR}/src/base/ ) +############################################################################### +# IPv6 CHECK +############################################################################### +IF ( ENABLE_IPV6 ) + ADD_DEFINITIONS ( -DSUPPORT_IPv6 ) +ENDIF ( ENABLE_IPV6 ) + ############################################################################### # AUDIO CHECK ############################################################################### -- cgit v1.2.3