Skip to content

Commit 14bcdd1

Browse files
committed
donate-cpu: fix syntax error
1 parent e5010da commit 14bcdd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/donate-cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ def scanPackage(workPath, cppcheck, jobs):
208208
print('Analyze..')
209209
os.chdir(workPath)
210210
libraries = ' --library=posix'
211-
if hasInclude('<wx/string.h>'):
211+
if hasInclude('temp', '<wx/string.h>'):
212212
libraries += ' --library=wxwidgets'
213-
if hasInclude('<QString>'):
213+
if hasInclude('temp', '<QString>'):
214214
libraries += ' --library=qt'
215215
cmd = 'nice ' + cppcheck + ' ' + jobs + libraries + ' -D__GCC__ --inconclusive --enable=style --platform=unix64 --template=daca2 -rp=temp temp'
216216
print(cmd)

0 commit comments

Comments
 (0)