correction to own cmake error checking script.

This commit is contained in:
Campbell Barton 2011-01-21 11:52:56 +00:00
parent a5d4922639
commit f6d54bd1ee
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@ def cmake_get_src(f):
sources_h.append(new_file)
elif is_c(new_file):
sources_c.append(new_file)
elif l in ("PARENT_SCOPE", ):
# cmake var, ignore
pass
else:
raise Exception("unknown file type - not c or h %s -> %s" % (f, new_file))