This generic solution prevent cmake from having an error .svn folders when the source folder is under subversion.