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
path: root/extern
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 /extern
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 'extern')
-rw-r--r--extern/CMakeLists.txt6
-rw-r--r--extern/SConscript6
2 files changed, 8 insertions, 4 deletions
diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt
index 5b2639ecb0d..1d83410a3d7 100644
--- a/extern/CMakeLists.txt
+++ b/extern/CMakeLists.txt
@@ -72,6 +72,8 @@ if(WITH_CARVE)
add_subdirectory(carve)
endif()
-if(UNIX AND NOT APPLE)
- add_subdirectory(xdnd)
+if(WITH_GHOST_XDND)
+ if(UNIX AND NOT APPLE)
+ add_subdirectory(xdnd)
+ endif()
endif()
diff --git a/extern/SConscript b/extern/SConscript
index 5ecf9b1b2af..67b74e9ee91 100644
--- a/extern/SConscript
+++ b/extern/SConscript
@@ -35,5 +35,7 @@ if env['WITH_BF_LIBMV']:
if env['WITH_BF_CARVE']:
SConscript(['carve/SConscript'])
-if env['OURPLATFORM'] in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'aix4', 'aix5'):
- SConscript(['xdnd/SConscript'])
+if env['WITH_GHOST_XDND']:
+ # FreeBSD doesn't seems to support XDND protocol
+ if env['OURPLATFORM'] in ('linux', 'openbsd3', 'sunos5', 'aix4', 'aix5'):
+ SConscript(['xdnd/SConscript'])