From c1bc7cbafcfbda6cef8906807004e94808ff693d Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 25 May 2009 18:58:51 +0000 Subject: 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 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') 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 -- cgit