diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-02-01 16:04:45 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-02-01 16:04:45 -0800 |
commit | 83eda0d847e6472b52167d135191b9ad7591a97f (patch) | |
tree | 479b8eecc2dab933b40c0fae19eae0bc048cb959 /indra/cmake | |
parent | 75b382a97c66b5a35fbb783d42abe303356e104f (diff) | |
parent | 83356a779be51f3108a95ed4b680b5fe04800f25 (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 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/indra/cmake/DragDrop.cmake b/indra/cmake/DragDrop.cmake new file mode 100644 index 0000000000..e56264f187 --- /dev/null +++ b/indra/cmake/DragDrop.cmake @@ -0,0 +1,23 @@ +# -*- cmake -*-
+
+if (VIEWER)
+
+ set(OS_DRAG_DROP ON CACHE BOOL "Build the viewer with OS level drag and drop turned on or off")
+
+ if (OS_DRAG_DROP)
+
+ if (WINDOWS)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
+ endif (WINDOWS)
+
+ if (DARWIN)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
+ endif (DARWIN)
+
+ if (LINUX)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
+ endif (LINUX)
+
+ endif (OS_DRAG_DROP)
+
+endif (VIEWER)
|