PageRenderTime 15ms CodeModel.GetById 4ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/Glui.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 28 lines | 23 code | 4 blank | 1 comment | 8 complexity | ac60eea54e4ae1d78aed95995d968045 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Linking)
  3. include(Prebuilt)
  4. if (STANDALONE)
  5. set(GLUI OFF CACHE BOOL
  6. "GLUI support for the llplugin/llmedia test apps.")
  7. else (STANDALONE)
  8. use_prebuilt_binary(glui)
  9. set(GLUI ON CACHE BOOL
  10. "GLUI support for the llplugin/llmedia test apps.")
  11. endif (STANDALONE)
  12. if (LINUX)
  13. set(GLUI ON CACHE BOOL
  14. "llplugin media apps HACK for Linux.")
  15. endif (LINUX)
  16. if (DARWIN OR LINUX)
  17. set(GLUI_LIBRARY
  18. glui)
  19. endif (DARWIN OR LINUX)
  20. if (WINDOWS)
  21. set(GLUI_LIBRARY
  22. debug glui32.lib
  23. optimized glui32.lib)
  24. endif (WINDOWS)