yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01339
[svn] r1816 - trunk
Author: eudoxos
Date: 2009-06-25 23:29:36 +0200 (Thu, 25 Jun 2009)
New Revision: 1816
Modified:
trunk/SConstruct
Log:
Fix feature macro definitions (typos)
Modified: trunk/SConstruct
===================================================================
--- trunk/SConstruct 2009-06-25 20:54:20 UTC (rev 1815)
+++ trunk/SConstruct 2009-06-25 21:29:36 UTC (rev 1816)
@@ -320,12 +320,12 @@
if 'openGL' in env['features']:
ok=conf.CheckLibWithHeader('glut','GL/glut.h','c','glutGetModifiers();',autoadd=1)
if not ok: featureNotOK('openGL')
- env.Append(CPPDEFINES='YADE_OPENGL')
+ env.Append(CPPDEFINES=['YADE_OPENGL'])
if 'GTS' in env['features']:
env.ParseConfig('pkg-config glib-2.0 --cflags --libs');
ok=conf.CheckLibWithHeader('gts','gts.h','c','gts_object_class();',autoadd=1)
if not ok: featureNotOK('GTS')
- env.Append(CPPDEFINES='YADE_GTS')
+ env.Append(CPPDEFINES=['YADE_GTS'])
if 'qt3' not in env['exclude']:
if 'openGL' not in env['features']:
print "\nQt3 interface can only be used if openGL is enabled.\nEither add openGL to 'features' or add qt3 to 'exclude'."