summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-09 04:13:04 -0400
committerAdam <Adam@anope.org>2012-10-09 04:13:04 -0400
commit1dacc648a0ddc20679b6242bc94edb9ae657a247 (patch)
treea83141e9a5fa315c152dd45d0a3e1f45e13a427b /src
parent3af786d4c97e8ee99ea122a5c058d82e6222f295 (diff)
Made the warnings given by cmake for not having
the dependencies for modules look less scary as they confuse dumb people currently
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/tools/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 13a88bf51..f1f383397 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -47,7 +47,7 @@ foreach(SRC ${SRC_SRCS})
# Create unused skip variable
set(SKIP)
# Calculate the header file dependencies for the given source file
- calculate_depends(${SRC} SKIP TEMP_INCLUDES)
+ calculate_depends(${SRC} SKIP TRUE TEMP_INCLUDES)
# If there were some extra include directories, add them to the list
if(TEMP_INCLUDES)
append_to_list(EXTRA_INCLUDES ${TEMP_INCLUDES})
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index c69c2fa7d..88fc37ffc 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -12,7 +12,7 @@ foreach(SRC ${TOOLS_SRCS})
# Create skip variable
set(SKIP)
# Calculate the header file dependencies for the given source file
- calculate_depends(${SRC} SKIP)
+ calculate_depends(${SRC} SKIP TRUE)
# Only continue if this file isn't skipped
if(NOT SKIP)
# Generate the executable and set its linker flags, also set it to depend on the main Anope executable to be built beforehand