donate-cpu.py: Added detection of boost-library.

This commit is contained in:
orbitcowboy 2019-01-13 17:55:28 +01:00
parent 22ae8bc0c8
commit fc2557d43d
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ def scanPackage(workPath, cppcheck, jobs):
libraries += ' --library=zlib'
if hasInclude('temp', '<gtk/gtk.h>'):
libraries += ' --library=gtk'
if hasInclude('temp', '<boost/'):
libraries += ' --library=boost'
options = jobs + libraries + ' -D__GCC__ --inconclusive --enable=style --platform=unix64 --template=daca2 -rp=temp temp'
cmd = 'nice ' + cppcheck + ' ' + options
print(cmd)