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.
This commit is contained in:
Sergey Sharybin
2012-02-17 20:51:39 +00:00
parent 5af9e8d5ca
commit 9def83f7e0
13 changed files with 70 additions and 14 deletions

View File

@@ -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)