diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-18 00:51:39 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-18 00:51:39 +0400 |
commit | 9def83f7e0795f11201af96cb64b4fb192e721d4 (patch) | |
tree | ae559da826246c75c1ea2de5f89c1d541384423c /CMakeLists.txt | |
parent | 5af9e8d5caef2b869308fbe7ba0f4869dde1ae95 (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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bf67224c937..ae39f7ce5b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,6 +160,11 @@ if(UNIX AND NOT APPLE) option(WITH_BUILTIN_GLEW "Use GLEW OpenGL wrapper library bundled with blender" ON) option(WITH_XDG_USER_DIRS "Build with XDG Base Directory Specification (only config and documents for now)" OFF) mark_as_advanced(WITH_XDG_USER_DIRS) + + # freebsd doesn't seems to support XDND + if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") + option(WITH_GHOST_XDND "Enable drag'n'drop support on Linux using XDND protocol" ON) + endif() else() # not an option for other OS's set(WITH_BUILTIN_GLEW ON) |