summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-06 19:03:07 -0500
committerAdam <Adam@anope.org>2013-04-06 19:03:07 -0500
commitccecfdf44506d97874cdd1bc8b73a273188310c4 (patch)
tree230e6abb8e14bf2471054c37e2db568b513a8093 /src
parent32d1184c00bdb43d3cf892b721c2906b2ddc1a14 (diff)
Made the missing dependencies message from cmake more descriptive for modules
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/tools/CMakeLists.txt3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d2bc9f050..e2dbb6c71 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -38,8 +38,9 @@ foreach(SRC ${SRC_SRCS})
set(TEMP_INCLUDES)
# Create unused skip variable
set(SKIP)
+ set(MODULE FALSE)
# Calculate the header file dependencies for the given source file
- calculate_depends(${SRC} SKIP TRUE TEMP_INCLUDES)
+ calculate_depends(${SRC} SKIP MODULE 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 613e4ffc6..962849d8b 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -11,8 +11,9 @@ foreach(SRC ${TOOLS_SRCS})
string(REGEX REPLACE "\\.cpp$" "" EXE ${SRC})
# Create skip variable
set(SKIP)
+ set(MODULE FALSE)
# Calculate the header file dependencies for the given source file
- calculate_depends(${SRC} SKIP TRUE)
+ calculate_depends(${SRC} SKIP MODULE)
# 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