summaryrefslogtreecommitdiff
path: root/indra/cmake/DragDrop.cmake
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-10-04 03:12:48 +0000
committerDon Kjer <don@lindenlab.com>2012-10-04 03:12:48 +0000
commitc9ab9590aa1d44ea139b16e7ffcb1461d928bdd5 (patch)
treec735cd065521eb5b2d719f78e1685c090b265ea6 /indra/cmake/DragDrop.cmake
parent8c0aa31536c447edb6ef4fbee43f99debf593a20 (diff)
Removing server-related cmake cruft. Fixing libGLU warnings on linux.
Diffstat (limited to 'indra/cmake/DragDrop.cmake')
-rw-r--r--indra/cmake/DragDrop.cmake27
1 files changed, 12 insertions, 15 deletions
diff --git a/indra/cmake/DragDrop.cmake b/indra/cmake/DragDrop.cmake
index c0424396e5..b70aa6b6ee 100644
--- a/indra/cmake/DragDrop.cmake
+++ b/indra/cmake/DragDrop.cmake
@@ -1,23 +1,20 @@
# -*- cmake -*-
-if (VIEWER)
+set(OS_DRAG_DROP ON CACHE BOOL "Build the viewer with OS level drag and drop turned on or off")
- 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 (OS_DRAG_DROP)
+ if (WINDOWS)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
+ endif (WINDOWS)
- if (WINDOWS)
- add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
- endif (WINDOWS)
+ if (DARWIN)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
+ endif (DARWIN)
- if (DARWIN)
- add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
- endif (DARWIN)
+ if (LINUX)
+ add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
+ endif (LINUX)
- if (LINUX)
- add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
- endif (LINUX)
+endif (OS_DRAG_DROP)
- endif (OS_DRAG_DROP)
-
-endif (VIEWER)