From ccecfdf44506d97874cdd1bc8b73a273188310c4 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Apr 2013 19:03:07 -0500 Subject: Made the missing dependencies message from cmake more descriptive for modules --- src/tools/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools') 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 -- cgit