Skip to content

Commit 3ae36c6

Browse files
committed
Fix the Cmake combination test
1 parent 0200194 commit 3ae36c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ endif()
8181
# Validate mutually exclusive IP resolution options
8282
set(IPV4_ONLY_FLAG 0)
8383
set(IPV6_ONLY_FLAG 0)
84-
set(DUAL_STACK_ONLY_FLAG 0)
84+
set(IPV4_AND_IPV6_FLAG 0)
8585

8686
if(AWS_KVS_IPV4_ONLY)
8787
set(IPV4_ONLY_FLAG 1)
@@ -97,7 +97,7 @@ endif()
9797

9898
# Sum the enabled flags
9999
math(EXPR IPV_OPTIONS_ENABLED_COUNT
100-
"${IPV4_ONLY_FLAG}+${IPV6_ONLY_FLAG}+${DUAL_STACK_ONLY_FLAG}")
100+
"${IPV4_ONLY_FLAG}+${IPV6_ONLY_FLAG}+${IPV4_AND_IPV6_FLAG}")
101101

102102
# Check for conflicts
103103
if(IPV_OPTIONS_ENABLED_COUNT GREATER 1)

0 commit comments

Comments
 (0)