summaryrefslogtreecommitdiff
path: root/indra/cmake/DragDrop.cmake
blob: 26e7828830d75c6d4321de07767de2b92db2450e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- cmake -*-

set(OS_DRAG_DROP ON CACHE BOOL "Build the viewer with OS level drag and drop turned on or off")

if (OS_DRAG_DROP)
    if (WINDOWS)
        add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
    endif (WINDOWS)
    if (DARWIN)
        add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
    endif (DARWIN)
    if (LINUX)
        add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
    endif (LINUX)
endif (OS_DRAG_DROP)