From cbca37dd1d098ca61b79e41df99cfd3e95da270b Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Mon, 6 Nov 2017 17:14:42 +0800 Subject: [gui]修改SConscript文件,解决找不到"tjpgd.h"的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/gui/libraries/tjpgd1a/SConscript | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'components/gui') diff --git a/components/gui/libraries/tjpgd1a/SConscript b/components/gui/libraries/tjpgd1a/SConscript index 14728005c6..f805407555 100644 --- a/components/gui/libraries/tjpgd1a/SConscript +++ b/components/gui/libraries/tjpgd1a/SConscript @@ -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') \ No newline at end of file -- cgit v1.3.1