summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-12 05:49:15 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-12 05:49:15 +0000
commitcc64a002167bb994a9e5c29b1fc45528161ad37b (patch)
tree7d370afb34c18af8e36f90bde3a6629b1b2625d1
parent7ea66a37d56ef46726bcca6c8a6f2685cbbceafb (diff)
Fix problem with CMake's auto-library search when being run on a subdirectory of src/modules, spotted with help from DukePyrolator.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2499 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--TODO1
-rw-r--r--src/modules/CMakeLists.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index aa6e116e2..0fcc6fcb2 100644
--- a/TODO
+++ b/TODO
@@ -18,7 +18,6 @@ Legend:
[x] Settable oper flags (split into types containing privs+commands, allow each oper to be set to a type, like we do with insp?)
Outstanding issues:
-- Correct CMake's auto-library search
- Add some events that were not present before but useful for future versions
1.9.2
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index e9863b6e3..8dc8140ab 100644
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -95,7 +95,7 @@ foreach(FILE ${MODULES_FILES})
# Append this source file's linker flags to the subdirectoy's linker flags, if there are any to append
if(TEMP_LDFLAGS)
- append_to_list(SUBDIR_LDFLAGS ${TEMP_LDFLAGS})
+ set(SUBDIR_LDFLAGS "${SUBDIR_LDFLAGS} ${TEMP_LDFLAGS}")
endif(TEMP_LDFLAGS)
# Append this source file's extra dependencies to the subdirector's extra dependencies, if there are any to append
if(TEMP_DEPENDENCIES)