diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 14:32:01 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-15 14:32:01 -0800 |
commit | aba3d46fb47a4dab652254ed099037629a87dc24 (patch) | |
tree | fe8a7b0c079fef8ec800f1bff5db201c11273a8e /indra/cmake | |
parent | 89a8182c2cd8d04b85c70d82f654714b83afebb8 (diff) | |
parent | 4a92f49e7b129461010559f3c298620e9a589aab (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)
|