OSX: fix condition for NDOF linking
authorJens Verwiebe <info@jensverwiebe.de>
Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)
SConstruct

index 7f11397a286d6b6a74dcc89abd0f98a5451d943c..75b88c36e4ce00e00899c5f4d3d807009af14eb5 100644 (file)
@@ -272,7 +272,7 @@ if env['OURPLATFORM']=='darwin':
     # for now, Mac builders must download and install the 3DxWare 10 Beta 4 driver framework from 3Dconnexion
     # necessary header file lives here when installed:
     # /Library/Frameworks/3DconnexionClient.framework/Versions/Current/Headers/ConnexionClientAPI.h
-    if env['WITH_BF_3DMOUSE'] == 1 and not os.path.exists('/Library/Frameworks/3DconnexionClient.framework'):
+    if not os.path.exists('/Library/Frameworks/3DconnexionClient.framework'):
         print "3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE" # avoid build errors !
         env['WITH_BF_3DMOUSE'] = 0
     else: