diff options
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/cmake_static_check_cppcheck.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/cmake/cmake_static_check_cppcheck.py b/build_files/cmake/cmake_static_check_cppcheck.py index 4249537eca8..6a69891c0aa 100644 --- a/build_files/cmake/cmake_static_check_cppcheck.py +++ b/build_files/cmake/cmake_static_check_cppcheck.py @@ -36,7 +36,9 @@ CHECKER_IGNORE_PREFIX = [ CHECKER_BIN = "cppcheck" CHECKER_ARGS = [ - "-I" + os.join(project_source_info.SORCE_DIR, "blender/extern/glew/include"), + # not sure why this is needed, but it is. + "-I" + os.path.join(project_source_info.SOURCE_DIR, "extern/glew/include"), + # "--check-config", # when includes are missing # "--enable=all", # if you want sixty hundred pedantic suggestions ] |