PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms 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
 1# -*- cmake -*-
 2include(Linking)
 3include(Prebuilt)
 4
 5if (WINDOWS)
 6    use_prebuilt_binary(freeglut)
 7    set(GLUT_LIBRARY
 8        debug freeglut_static.lib
 9        optimized freeglut_static.lib)
10endif (WINDOWS)
11
12if (LINUX)
13  FIND_LIBRARY(GLUT_LIBRARY glut)
14endif (LINUX)
15
16if (DARWIN)
17  include(CMakeFindFrameworks)
18  find_library(GLUT_LIBRARY GLUT)
19endif (DARWIN)