diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/cmake/Glut.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/linden/indra/cmake/Glut.cmake b/linden/indra/cmake/Glut.cmake new file mode 100644 index 0000000..314da30 --- /dev/null +++ b/linden/indra/cmake/Glut.cmake | |||
@@ -0,0 +1,19 @@ | |||
1 | # -*- cmake -*- | ||
2 | include(Linking) | ||
3 | include(Prebuilt) | ||
4 | |||
5 | if (WINDOWS) | ||
6 | use_prebuilt_binary(freeglut) | ||
7 | set(GLUT_LIBRARY | ||
8 | debug freeglut_static.lib | ||
9 | optimized freeglut_static.lib) | ||
10 | endif (WINDOWS) | ||
11 | |||
12 | if (LINUX) | ||
13 | FIND_LIBRARY(GLUT_LIBRARY glut) | ||
14 | endif (LINUX) | ||
15 | |||
16 | if (DARWIN) | ||
17 | include(CMakeFindFrameworks) | ||
18 | find_library(GLUT_LIBRARY GLUT) | ||
19 | endif (DARWIN) | ||