diff --git a/tools/donate-cpu.py b/tools/donate-cpu.py index 25d77ea5f..09179dd21 100644 --- a/tools/donate-cpu.py +++ b/tools/donate-cpu.py @@ -37,7 +37,7 @@ import platform # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # changes) -CLIENT_VERSION = "1.0.0" +CLIENT_VERSION = "1.1.0" def checkRequirements(): @@ -232,18 +232,16 @@ def scanPackage(workPath, cppcheckPath, jobs): libraries += ' --library=gtk' if hasInclude('temp', ['']): -# libraries += ' --library=python' + if os.path.exists(cppcheckPath + '/cfg/python.cfg') and hasInclude('temp', ['']): + libraries += ' --library=python' if hasInclude('temp', ['', '', '']): libraries += ' --library=zlib' -# TODO: enable boost library configuration detection after release of Cppcheck 1.87 -# if os.path.exists(cppcheckPath + '/cfg/boost.cfg') and hasInclude('temp', ['']): libraries += ' --library=sdl'