From afb55a1842e57bc6a4b61e70c047ea57597c5a69 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 11 Oct 2010 19:21:59 -0400 Subject: Fixed Windows again --- 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 e96b3523e..00f3151dd 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -15,8 +15,9 @@ foreach(SRC ${TOOLS_SRCS}) calculate_depends(${SRC} SKIP) # Only continue if this file isn't skipped if(NOT SKIP) - # For anoptsmtp, we also want hashcomp.cpp included, so we force it into the sources + # For anoptsmtp, we also want base.cpp and hashcomp.cpp included, so we force it into the sources if(SRC STREQUAL anopesmtp.cpp) + set(SRC ${SRC} ${Anope_SOURCE_DIR}/src/base.cpp) set(SRC ${SRC} ${Anope_SOURCE_DIR}/src/hashcomp.cpp) endif(SRC STREQUAL anopesmtp.cpp) # Generate the executable and set its linker flags, also set it to depend on the main Anope executable to be built beforehand -- cgit