diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-03 11:55:43 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-03 11:55:43 -0800 |
commit | 0a2a52c3b1f60668110381ef782cfa6d1088fa4e (patch) | |
tree | 1cecce5cb15dfa74cc83bbdf8ca9779335458ce6 /indra/cmake | |
parent | 18901432e93ab887726b58354ae45ddb43e8ed27 (diff) | |
parent | 57195ccd74d5873f4b861afe4bf56ccee78a87a2 (diff) |
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/
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)
|