From 13eefec9ddcc5f5dc7a7328ed5f24c1dd4a000fd Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 2 Aug 2011 17:59:43 +0000 Subject: More flexible configuration for 3dmouse library for scons. Needed for release environment and buildbot. Buildbot rules would be updated with next commit after environment will be tested. --- intern/ghost/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/ghost') diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript index 761cbe56344..234fc0a172e 100644 --- a/intern/ghost/SConscript +++ b/intern/ghost/SConscript @@ -80,6 +80,9 @@ else: if env['WITH_BF_3DMOUSE']: defs.append('WITH_INPUT_NDOF') + + if env['OURPLATFORM']=='linux2': + incs += ' ' + env['BF_3DMOUSE_INC'] else: sources.remove('intern' + os.sep + 'GHOST_NDOFManager.cpp') try: -- cgit v1.2.3