diff options
| author | nakeee <nakeee@gmail.com> | 2009-01-09 00:35:06 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-01-09 00:35:06 +0000 |
| commit | 89603a91a604c0159fdfddcf2b1e338e07ffa2c8 (patch) | |
| tree | bb894b3b5dc60be9d3618604934173b1fd8acb48 | |
| parent | 4916bf54b6b35f7a4355bc21fce95e26936237a5 (diff) | |
add if gltest on some run away files
Thanks shuffle!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1832 8ced0084-cf51-0410-be5f-012b33b47a6e
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/SConscript | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/SConscript b/Source/Plugins/Plugin_VideoOGL/Src/SConscript index c2f07d7c31..c76b1da61f 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/SConscript +++ b/Source/Plugins/Plugin_VideoOGL/Src/SConscript @@ -98,19 +98,21 @@ conf.Define('HAVE_XXF86VM', gfxenv['HAVE_XXF86VM']) conf.Finish() -if gfxenv['HAVE_XXF86VM']: - files += [ - 'X11Window.cpp', - ] - -if gfxenv['HAVE_SDL']: - files += [ - 'SDLWindow.cpp', - ] -if gfxenv['USE_WX']: - files += [ - 'WXGLWindow.cpp', - ] +if gfxenv['GLTEST']: + if gfxenv['HAVE_XXF86VM']: + files += [ + 'X11Window.cpp', + ] + + if gfxenv['HAVE_SDL']: + files += [ + 'SDLWindow.cpp', + ] + if gfxenv['USE_WX']: + files += [ + 'WXGLWindow.cpp', + ] + # Sanity check if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']: print "Must have wx to use wxgl" |
