From cbca37dd1d098ca61b79e41df99cfd3e95da270b Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Mon, 6 Nov 2017 17:14:42 +0800 Subject: [PATCH] =?UTF-8?q?[gui]=E4=BF=AE=E6=94=B9SConscript=E6=96=87?= =?UTF-8?q?=E4=BB=B6,=E8=A7=A3=E5=86=B3=E6=89=BE=E4=B8=8D=E5=88=B0"tjpgd.h?= =?UTF-8?q?"=E7=9A=84=E9=97=AE=E9=A2=98?= 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(-) 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