PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/DragDrop.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 23 lines | 14 code | 8 blank | 1 comment | 5 complexity | 59e37271dfea534e85cc2bd6e0c55f03 MD5 | raw file
 1# -*- cmake -*-
 2
 3if (VIEWER)
 4
 5  set(OS_DRAG_DROP ON CACHE BOOL "Build the viewer with OS level drag and drop turned on or off")
 6
 7  if (OS_DRAG_DROP)
 8
 9    if (WINDOWS)
10      add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
11    endif (WINDOWS)
12
13    if (DARWIN)
14      add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
15    endif (DARWIN)
16
17    if (LINUX)
18      add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
19    endif (LINUX)
20
21  endif (OS_DRAG_DROP)
22
23endif (VIEWER)