diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 05:49:15 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 05:49:15 +0000 |
commit | cc64a002167bb994a9e5c29b1fc45528161ad37b (patch) | |
tree | 7d370afb34c18af8e36f90bde3a6629b1b2625d1 /src | |
parent | 7ea66a37d56ef46726bcca6c8a6f2685cbbceafb (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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) |