diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSetSourceFilesPropertiesCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSetSourceFilesPropertiesCommand.cxx b/Source/cmSetSourceFilesPropertiesCommand.cxx index 92d54ca..4a00e25 100644 --- a/Source/cmSetSourceFilesPropertiesCommand.cxx +++ b/Source/cmSetSourceFilesPropertiesCommand.cxx @@ -33,7 +33,8 @@ bool cmSetSourceFilesPropertiesCommand std::vector<std::string>::const_iterator j; j = args.begin(); // old style allows for specifier before PROPERTIES keyword - while (*j != "ABSTRACT" && + while (j != args.end() && + *j != "ABSTRACT" && *j != "WRAP_EXCLUDE" && *j != "GENERATED" && *j != "COMPILE_FLAGS" && |