diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-11-30 09:25:39 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-11-30 09:25:39 -0800 |
commit | aae1917d2e7a5af03f525d44eb177317495ead29 (patch) | |
tree | ce64e7f54a4103f9b04384feb0a7ffc49a5f5fe7 /indra/cmake | |
parent | d4e01315e3f39dd14bb2c14f09e4e94749542b06 (diff) | |
parent | 05ae52a37f9f4d2519c40fe38f1b7143270c46ee (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)
|