From 3edc6d70b9b7d3da642f46c90a876a606ba76ab3 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Nov 2010 16:07:18 -0400 Subject: Fixed building anopesmtp on Windows, fixed some cmake problems with calculate_depends, and fixed building without gettext --- modules/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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 -- cgit