From cc64a002167bb994a9e5c29b1fc45528161ad37b Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 12 Sep 2009 05:49:15 +0000 Subject: 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 --- src/modules/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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) -- cgit