summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-01-07 11:45:09 -0800
committerRick Pasetto <rick@lindenlab.com>2010-01-07 11:45:09 -0800
commitcbea2b235f688d6d35a2deaa420ab57ffcc78372 (patch)
tree2ad5e1ec8756fccb5d669c5356b59ecf0ab36d5b /indra/cmake
parentb7bab35cb58a33014bb05f2d77b03e58d9e90651 (diff)
parent75c1fb26649df73770459a31641c434e156e2c17 (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)