diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-18 14:25:15 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-18 14:25:15 -0800 |
commit | 4d55b5bad0cfabc4c9bb4e4d7234efc77b3547e8 (patch) | |
tree | 9bfa670a6cd4b40f20d5ae710f028872d592c0ba /indra/cmake/DragDrop.cmake | |
parent | 0e729489438898d0de062ea5d744be3009e47c57 (diff) | |
parent | 064c9be9aedf238530ccdc941861fd057580e5b1 (diff) |
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/cmake/DragDrop.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)
|