[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题

This commit is contained in:
tangyuxin 2017-11-06 17:14:42 +08:00
parent b5496deee4
commit cbca37dd1d
1 changed files with 4 additions and 5 deletions

View File

@ -1,14 +1,13 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import *
import rtconfig
cwd = GetCurrentDir()
src = Split('''
tjpgd.c
''')
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
CPPPATH = [cwd]
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
Return('group')
Return('group')