diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-29 09:59:07 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-29 09:59:07 (GMT) |
| commit | 5790ab5ce0e7765e1a750557434d795edc66fc9b (patch) | |
| tree | f7d464bf3f2e44ac44a6b32949fda38282763ae0 /SConscript | |
| parent | 583ddba744248e347a30da4e75f0814c10115da9 (diff) | |
| download | powder-5790ab5ce0e7765e1a750557434d795edc66fc9b.zip powder-5790ab5ce0e7765e1a750557434d795edc66fc9b.tar.gz | |
Fix scons renderer option
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -126,7 +126,7 @@ else: env.Append(CPPPATH=['src/', 'data/', 'generated/']) env.Append(CCFLAGS=['-w', '-std=c++98', '-fkeep-inline-functions']) env.Append(LIBS=['pthread', 'm']) -env.Append(CPPDEFINES=["USE_SDL", "LUACONSOLE", "GRAVFFT", "_GNU_SOURCE", "USE_STDINT", "_POSIX_C_SOURCE=200112L"]) +env.Append(CPPDEFINES=["LUACONSOLE", "GRAVFFT", "_GNU_SOURCE", "USE_STDINT", "_POSIX_C_SOURCE=200112L"]) if GetOption("ptw32-static"): env.Append(CPPDEFINES=['PTW32_STATIC_LIB']); @@ -136,6 +136,8 @@ if(GetOption('static')): if(GetOption('renderer')): env.Append(CPPDEFINES=['RENDERER']) +else: + env.Append(CPPDEFINES=["USE_SDL"]) if(GetOption('win')): openGLLibs = ['opengl32', 'glew32'] |
