Don't treat @ characters as separators in the LINGUAS cmake option. Fixes issue 2999

This commit is contained in:
David Sansome 2012-06-13 09:58:37 +01:00
parent afd42118f1
commit 5e685b2b14
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ else (LINGUAS STREQUAL "All")
if (NOT LINGUAS OR LINGUAS STREQUAL "None")
set (LANGUAGES "")
else (NOT LINGUAS OR LINGUAS STREQUAL "None")
string(REGEX MATCHALL [a-zA-Z_]+
string(REGEX MATCHALL [a-zA-Z_@]+
LANGUAGES ${LINGUAS})
endif (NOT LINGUAS OR LINGUAS STREQUAL "None")
endif (LINGUAS STREQUAL "All")