← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1762: Add default path for VTK

 

------------------------------------------------------------
revno: 1762
committer: Sergei D. <sega@laptop>
branch nick: trunk
timestamp: Thu 2009-09-17 18:19:27 +0400
message:
  Add default path for VTK
modified:
  SConstruct


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'SConstruct'
--- SConstruct	2009-09-15 19:32:10 +0000
+++ SConstruct	2009-09-17 14:19:27 +0000
@@ -328,6 +328,7 @@
 		Exit(1)
 	# check "optional" libs
 	if 'vtk' in env['features']:
+		conf.env.Append(CPPPATH='/usr/include/vtk') 
 		ok=conf.CheckLibWithHeader('vtkHybrid','vtkInstantiator.h','c++','vtkInstantiator::New();',autoadd=1)
 		if not ok: featureNotOK('vtk')
 	if 'opengl' in env['features']: