diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-05-08 19:49:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-05-08 19:49:53 (GMT) |
commit | b7ed54c950e8b44bd303447c3df370bd913301e3 (patch) | |
tree | aa5baf122e4a1ef88115accc94198f50a3b7198a /Source | |
parent | 2b6ee95c1dc24bfb5701c4156e6c429eac824368 (diff) | |
download | CMake-b7ed54c950e8b44bd303447c3df370bd913301e3.zip CMake-b7ed54c950e8b44bd303447c3df370bd913301e3.tar.gz CMake-b7ed54c950e8b44bd303447c3df370bd913301e3.tar.bz2 |
BUG:6990 fix crash with set_source_files_properties
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" && |