aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/Glut.cmake
blob: 314da30652d2da78807112d6b48050b5792f37bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- cmake -*-
include(Linking)
include(Prebuilt)

if (WINDOWS)
    use_prebuilt_binary(freeglut)
    set(GLUT_LIBRARY
        debug freeglut_static.lib
        optimized freeglut_static.lib)
endif (WINDOWS)

if (LINUX)
  FIND_LIBRARY(GLUT_LIBRARY glut)
endif (LINUX)

if (DARWIN)
  include(CMakeFindFrameworks)
  find_library(GLUT_LIBRARY GLUT)
endif (DARWIN)