Fix shared module detection.

This commit is contained in:
Relintai 2020-01-03 21:06:06 +01:00
parent ddc91f7f08
commit 459538d6b9

6
SCsub
View File

@ -5,12 +5,10 @@ Import('env')
module_env = env.Clone()
if os.path.isdir('../entity_spell_system'):
print("ESS FOUND")
env.Append(CPPDEFINES=['ESS_PRESENT'])
module_env.Append(CPPDEFINES=['ESS_PRESENT'])
if os.path.isdir('../voxelman'):
print("VOXELMAN FOUND")
env.Append(CPPDEFINES=['VOXELMAN_PRESENT'])
module_env.Append(CPPDEFINES=['VOXELMAN_PRESENT'])
sources = [