PageRenderTime 52ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/Glut.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 19 lines | 15 code | 3 blank | 1 comment | 3 complexity | d2776336656e2f7d219db4275fd7c432 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Linking)
  3. include(Prebuilt)
  4. if (WINDOWS)
  5. use_prebuilt_binary(freeglut)
  6. set(GLUT_LIBRARY
  7. debug freeglut_static.lib
  8. optimized freeglut_static.lib)
  9. endif (WINDOWS)
  10. if (LINUX)
  11. FIND_LIBRARY(GLUT_LIBRARY glut)
  12. endif (LINUX)
  13. if (DARWIN)
  14. include(CMakeFindFrameworks)
  15. find_library(GLUT_LIBRARY GLUT)
  16. endif (DARWIN)