← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1765: Fixes VTK-librabry dependencies for Ubuntu

 

------------------------------------------------------------
revno: 1765
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-09-17 19:48:11 +0200
message:
  Fixes VTK-librabry dependencies for Ubuntu
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-17 14:19:27 +0000
+++ SConstruct	2009-09-17 17:48:11 +0000
@@ -328,7 +328,7 @@
 		Exit(1)
 	# check "optional" libs
 	if 'vtk' in env['features']:
-		conf.env.Append(CPPPATH='/usr/include/vtk') 
+		conf.env.Append(CPPPATH='/usr/include/vtk-5.0') 
 		ok=conf.CheckLibWithHeader('vtkHybrid','vtkInstantiator.h','c++','vtkInstantiator::New();',autoadd=1)
 		if not ok: featureNotOK('vtk')
 	if 'opengl' in env['features']: