Use JINJA_FILE_SEARCHPATH variable so the fonts will also be found when built as a library.
This commit is contained in:
1
SModule
1
SModule
@@ -3,6 +3,7 @@ Import('env')
|
||||
|
||||
public_dir = env.Dir('public')
|
||||
env.Append(CPPPATH = [public_dir])
|
||||
env.Append(JINJA_FILE_SEARCHPATH = [env.Dir('.')])
|
||||
if env['BUILD_TYPE'] in ('release', 'release_debug', 'profile'):
|
||||
env.Append(CPPDEFINES = ['RAID_RELEASE'])
|
||||
env = env.Module('private/raid/SModule')
|
||||
|
||||
Reference in New Issue
Block a user