PageRenderTime 41ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/DragDrop.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 23 lines | 14 code | 8 blank | 1 comment | 5 complexity | 59e37271dfea534e85cc2bd6e0c55f03 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. if (VIEWER)
  3. set(OS_DRAG_DROP ON CACHE BOOL "Build the viewer with OS level drag and drop turned on or off")
  4. if (OS_DRAG_DROP)
  5. if (WINDOWS)
  6. add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
  7. endif (WINDOWS)
  8. if (DARWIN)
  9. add_definitions(-DLL_OS_DRAGDROP_ENABLED=1)
  10. endif (DARWIN)
  11. if (LINUX)
  12. add_definitions(-DLL_OS_DRAGDROP_ENABLED=0)
  13. endif (LINUX)
  14. endif (OS_DRAG_DROP)
  15. endif (VIEWER)