Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-18 00:51:39 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-18 00:51:39 +0400
commit9def83f7e0795f11201af96cb64b4fb192e721d4 (patch)
treeae559da826246c75c1ea2de5f89c1d541384423c /intern/ghost/SConscript
parent5af9e8d5caef2b869308fbe7ba0f4869dde1ae95 (diff)
XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons
Disabled on FreeBSD platforms due to some linking errors.
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r--intern/ghost/SConscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index d83107717fc..3410f11a971 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -42,7 +42,12 @@ elif window_system in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'f
# defs += ['PREFIX=\\"/usr/local/\\"'] # XXX, make an option
defs += ['WITH_X11_XINPUT'] # XXX, make an option
- incs += ' #/extern/xdnd'
+ # freebsd doesn't seem to support XDND protocol
+ if env['WITH_GHOST_XDND'] and window_system not in ('freebsd7', 'freebsd8', 'freebsd9'):
+ incs += ' #/extern/xdnd'
+ defs += ['WITH_XDND']
+ else:
+ sources.remove('intern' + os.sep + 'GHOST_DropTargetX11.cpp')
elif window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
for f in pf: