diff options
| author | Bernard Xiong <[email protected]> | 2017-11-06 17:24:18 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-06 17:24:18 +0800 |
| commit | 364a223f36af4a8eecd510e1e5d3af780837f303 (patch) | |
| tree | 211971e8b17ec90b04487bb821fb5678696c508f /components | |
| parent | db162eea621512a79963b685b4b9023fe7e39cb0 (diff) | |
| parent | cbca37dd1d098ca61b79e41df99cfd3e95da270b (diff) | |
Merge pull request #958 from enkiller/modify_gui_libraries_SConscript
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
Diffstat (limited to 'components')
| -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 |
