summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-01-05 13:55:09 -0800
committerRick Pasetto <rick@lindenlab.com>2010-01-05 13:55:09 -0800
commit7a6494df680be129eb14fb45e996804a190e86fa (patch)
tree99a6f245722e8f0563c5459fa5b84566609f5cf5 /indra/cmake
parente90fbe5b270d8083e9a8e12dacf3e016131938cf (diff)
parent9204681c31184c4c76c8f41c48da76e174e3276a (diff)
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/DragDrop.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/indra/cmake/DragDrop.cmake b/indra/cmake/DragDrop.cmake
new file mode 100644
index 0000000000..739d011813
--- /dev/null
+++ b/indra/cmake/DragDrop.cmake
@@ -0,0 +1,25 @@
+# -*- cmake -*-
+
+if (VIEWER)
+
+ OPTION (OS_DRAG_DROP
+ "Build the viewer with OS level drag and drop turned on or off"
+ ON)
+
+ if (OS_DRAG_DROP)
+
+ if (WINDOWS)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
+ endif (WINDOWS)
+
+ if (DARWIN)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
+ endif (DARWIN)
+
+ if (LINUX)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
+ endif (LINUX)
+
+ endif (OS_DRAG_DROP)
+
+endif (VIEWER)