Skip to content

Commit 364a223

Browse files
authored
Merge pull request #958 from enkiller/modify_gui_libraries_SConscript
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
2 parents db162ee + cbca37d commit 364a223

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
Import('RTT_ROOT')
2-
Import('rtconfig')
31
from building import *
2+
import rtconfig
43

4+
cwd = GetCurrentDir()
55
src = Split('''
66
tjpgd.c
77
''')
88

9-
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
9+
CPPPATH = [cwd]
1010

1111
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
1212

13-
Return('group')
14-
13+
Return('group')

0 commit comments

Comments
 (0)