BUG:6990 fix crash with set_source_files_properties
This commit is contained in:
parent
2b6ee95c1d
commit
b7ed54c950
|
@ -33,7 +33,8 @@ bool cmSetSourceFilesPropertiesCommand
|
||||||
std::vector<std::string>::const_iterator j;
|
std::vector<std::string>::const_iterator j;
|
||||||
j = args.begin();
|
j = args.begin();
|
||||||
// old style allows for specifier before PROPERTIES keyword
|
// old style allows for specifier before PROPERTIES keyword
|
||||||
while (*j != "ABSTRACT" &&
|
while (j != args.end() &&
|
||||||
|
*j != "ABSTRACT" &&
|
||||||
*j != "WRAP_EXCLUDE" &&
|
*j != "WRAP_EXCLUDE" &&
|
||||||
*j != "GENERATED" &&
|
*j != "GENERATED" &&
|
||||||
*j != "COMPILE_FLAGS" &&
|
*j != "COMPILE_FLAGS" &&
|
||||||
|
|
Loading…
Reference in New Issue