diff --git a/components/gui/libraries/tjpgd1a/SConscript b/components/gui/libraries/tjpgd1a/SConscript index 14728005c..f80540755 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