diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-05-25 18:58:51 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-05-25 18:58:51 +0000 |
| commit | c1bc7cbafcfbda6cef8906807004e94808ff693d (patch) | |
| tree | 92365b1741455cb561f5af1b31ebdca0ee73e1bd /CMakeLists.txt | |
| parent | 3fa978c958f26f1487189a231a6093c9df91835f (diff) | |
Added ability for CMake to build a module from a subdirectory of src/modules.
Added calculate_libraries() CMake macro to condense library checking in CMakeLists.txt in src/modules.
Fixed slight problem with strip_string() macro call in root CMakeLists.txt.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2302 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 676748249..85e19d190 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -315,11 +315,11 @@ check_type_size(u_int32_t U_INT32_T) # Strip the leading and trailing spaces from the compile flags if(CXXFLAGS) - strip_string(STRIP ${CXXFLAGS} CXXFLAGS) + strip_string(${CXXFLAGS} CXXFLAGS) endif(CXXFLAGS) # Strip the leading and trailing spaces from the linker flags if(LDFLAGS) - strip_string(STRIP ${LDFLAGS} LDFLAGS) + strip_string(${LDFLAGS} LDFLAGS) endif(LDFLAGS) # Search for the following programs |
