summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-01 16:07:18 -0400
committerAdam <Adam@anope.org>2010-11-01 16:07:18 -0400
commit3edc6d70b9b7d3da642f46c90a876a606ba76ab3 (patch)
tree4f7484ec56851895c23761f1c85f74d81d26e571 /modules
parent9db85375ee831885aceeba9e61b118ac7c4247a7 (diff)
Fixed building anopesmtp on Windows, fixed some cmake problems with calculate_depends, and fixed building without gettext
Diffstat (limited to 'modules')
-rw-r--r--modules/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 7d3811f4e..9e094b40c 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -53,7 +53,7 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS})
set(SKIP_LIBRARIES)
# Calculate the library dependencies for the given source file
calculate_libraries(${SRC} SKIP_LIBRARIES TEMP_LDFLAGS TEMP_DEPENDENCIES)
- if(NOT SKIP AND NOT SKIP_LIBRARIES)
+ if(NOT SKIP_DEPENDS AND NOT SKIP_LIBRARIES)
# Reset has_function
set(HAS_FUNCTION)
# Check the function dependencies for the given source file
@@ -86,7 +86,7 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS})
DESTINATION data/modules
)
endif(HAS_FUNCTION)
- endif(NOT SKIP AND NOT SKIP_LIBRARIES)
+ endif(NOT SKIP_DEPENDS AND NOT SKIP_LIBRARIES)
endforeach(SRC)
# Get a list of ALL files and directories within this modules directory