diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-10 10:05:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-10 10:05:22 +0400 |
commit | cd9b51c1bf36532ca48c8995dd2d30eba0fded5b (patch) | |
tree | 7fc3d3aa35858b05610382f3580dc36efaa2b4f6 /build_files | |
parent | 77c51607914b7fe4744437f6d47fedab628b444d (diff) |
add some missing headers to cmake, also add some files as comments since it seems they should be added but evidently work fine without.
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/cmake/cmake_consistency_check.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/cmake_consistency_check.py b/build_files/cmake/cmake_consistency_check.py index 6fdd178929b..be68455a113 100755 --- a/build_files/cmake/cmake_consistency_check.py +++ b/build_files/cmake/cmake_consistency_check.py @@ -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)) |