1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 08:53:13 +02:00

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
This commit is contained in:
cyberbotx
2009-09-12 05:49:15 +00:00
parent 7ea66a37d5
commit cc64a00216
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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
+1 -1
View File
@@ -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)