diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-11-23 17:20:08 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-11-23 17:20:08 -0800 |
commit | 0b9aa795702ae9304b2e9d4c58698f95ac636399 (patch) | |
tree | 2221ed164f503bbca5c3d91b7314093a5d3ca5e7 /indra/cmake | |
parent | 7bfa11ed694f9fffa9d8983f3d60f740d630cfc2 (diff) | |
parent | dbe1f9755896e41e2064a3ee69725d753c67921f (diff) |
merge
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/DragDrop.cmake | 25 |
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)
|