Merge pull request #958 from enkiller/modify_gui_libraries_SConscript

[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
This commit is contained in:
Bernard Xiong 2017-11-06 17:24:18 +08:00 committed by GitHub
commit 364a223f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')