diff options
| author | tangyuxin <[email protected]> | 2017-11-06 17:14:42 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2017-11-06 17:14:42 +0800 |
| commit | cbca37dd1d098ca61b79e41df99cfd3e95da270b (patch) | |
| tree | ddbe88e021d06ded443691c8c7e4fe2a6591f0da /components/gui | |
| parent | b5496deee45f1a883f2516e501878e40b87cae96 (diff) | |
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
Diffstat (limited to 'components/gui')
| -rw-r--r-- | components/gui/libraries/tjpgd1a/SConscript | 9 |
1 files 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 |
