branch | pyrit |
changeset 91 | 9d66d323c354 |
parent 88 | f7edb3b90816 |
child 92 | 9af5c039b678 |
--- a/ccdemos/SConscript Tue Apr 29 23:31:08 2008 +0200 +++ b/ccdemos/SConscript Fri May 02 13:27:47 2008 +0200 @@ -4,7 +4,12 @@ myenv.Prepend(LIBS=['pyrit']) sdlenv = myenv.Clone() -sdlenv.ParseConfig('sh sdl-config --cflags --libs') +try: + sdlenv.ParseConfig('sh sdl-config --cflags --libs') +except: + print "SDL not found, some demos will not built." + myenv.Alias('cc-demos', None) + Return() l = [] l.append( sdlenv.Program(['realtime.cc']) )