diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-02 09:52:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-02 09:52:27 +0400 |
commit | fcd7d2b486f2435907423188ffdfe2840c966b0b (patch) | |
tree | 58414c67c39fea1e654ce2380fbbb2488716b0b5 /intern/ghost/SConscript | |
parent | 8f3016098d726ec82b7f778d1e0a0d58f3da74cb (diff) |
NDOF related edits
- fix for building without NDOF on X11
- quiet some warnings
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r-- | intern/ghost/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript index 3dec748ce31..d65eb0caab6 100644 --- a/intern/ghost/SConscript +++ b/intern/ghost/SConscript @@ -78,6 +78,9 @@ if env['BF_GHOST_DEBUG']: else: sources.remove('intern' + os.sep + 'GHOST_EventPrinter.cpp') +if env['WITH_BF_3DMOUSE']: + defs.append('WITH_INPUT_NDOF') + if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'): incs = env['BF_WINTAB_INC'] + ' ' + incs |