diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-08 15:42:38 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-08 15:42:38 +0000 |
commit | 608b63d979fe8c33f8b79569405cc242c9bccd3d (patch) | |
tree | a1a097c776cff44439f0fb99ac1539ef80eccc11 /src | |
parent | 9047b0347df08f950c8cdbe8b4ea97870bcf76eb (diff) |
Make CMake ignore the CMakeFiles directory, really only applies to Win32 build since it still allows in-source builds (unlike the *nix build).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2631 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index 8dc8140ab..dbf9bbc97 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -56,6 +56,7 @@ endforeach(SRC) # Get a list of ALL files and directories within the current directory file(GLOB MODULES_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*") remove_item_from_list(MODULES_FILES ".svn") +remove_item_from_list(MODULES_FILES "CMakeFiles") # Iterate through this directory searching for subdirectories, and creating modules for those subdirectories foreach(FILE ${MODULES_FILES}) |