summaryrefslogtreecommitdiff
path: root/cmake/Anope.cmake
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2012-10-27 12:09:07 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2012-10-27 12:09:07 -0400
commit4dfc0f952fbb40261b822312ea51d2af5bf88ff4 (patch)
treedb71fd7ec752daa65352d0f7a3b41b0caf0c6f58 /cmake/Anope.cmake
parentd6e1b92059688c8b59df0eedccfb16781d193591 (diff)
Fix cmake generation due to this if not being updated.
Diffstat (limited to 'cmake/Anope.cmake')
-rw-r--r--cmake/Anope.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Anope.cmake b/cmake/Anope.cmake
index da8a88d54..d0846a0b1 100644
--- a/cmake/Anope.cmake
+++ b/cmake/Anope.cmake
@@ -368,9 +368,9 @@ macro(calculate_depends SRC SKIP VERBOSE)
# Temporarily set that we didn't get a 3rd argument before we actually check if we did get one or not
set(CHECK_ANGLE_INCLUDES FALSE)
# Check for a third argument
- if(${ARGC} GREATER 2)
+ if(${ARGC} GREATER 3)
set(CHECK_ANGLE_INCLUDES TRUE)
- endif(${ARGC} GREATER 2)
+ endif(${ARGC} GREATER 3)
# Find all the lines in the given source file that have any form of #include on them, regardless of whitespace, but only if they are valid for the platform we are on
find_includes(${SRC} INCLUDES)
# Reset the list of headers to empty