add some missing headers to cmake, also add some files as comments since it seems they should be added but evidently work fine without.

This commit is contained in:
Campbell Barton
2011-11-10 06:05:22 +00:00
parent 77c5160791
commit cd9b51c1bf
7 changed files with 11 additions and 1 deletions

View File

@@ -93,6 +93,9 @@ def cmake_get_src(f):
# print(f)
def is_definition(l, f, i, name):
if l.startswith("unset("):
return False
if ('set(%s' % name) in l or ('set(' in l and l.endswith(name)):
if len(l.split()) > 1:
raise Exception("strict formatting not kept 'set(%s*' %s:%d" % (name, f, i))