← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 3010: Fix eigen2 compiling, when "eigen2=False" by default.

 

------------------------------------------------------------
revno: 3010
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: yade
timestamp: Mon 2012-01-30 22:13:08 +0100
message:
  Fix eigen2 compiling, when "eigen2=False" by default.
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	2012-01-30 19:52:10 +0000
+++ SConstruct	2012-01-30 21:13:08 +0000
@@ -140,7 +140,7 @@
 if os.path.exists('/usr/include/eigen3') and not (env['eigen2']):
 	print "Eigen 3 math library will be used"
 	env.Append(CPPPATH=":/usr/include/eigen3")
-elif os.path.exists('/usr/include/eigen2') and (env['eigen2']):
+elif os.path.exists('/usr/include/eigen2'):
 	print "Eigen 2 math library will be used"
 	env.Append(CPPPATH=":/usr/include/eigen2")
 else: