summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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