summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-12 17:21:59 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-12 17:21:59 +0100
commit5158bdb88d2bad0cfafde2700c839c78b4b061c6 (patch)
treeb48b7fa0d702d260928cecf5fb1fbd794f0f9b9e /cmake
parent043855f9b0b8fdec085b8dc328bd951d53d1387f (diff)
and also glu
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindGLU.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/FindGLU.cmake b/cmake/FindGLU.cmake
new file mode 100644
index 0000000..fa56a51
--- /dev/null
+++ b/cmake/FindGLU.cmake
@@ -0,0 +1,14 @@
+
+
+# Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4
+# GLU library is now found by FindOpenGL.cmake
+#
+#
+
+INCLUDE(FindOpenGL)
+
+IF (OPENGL_GLU_FOUND)
+ SET (GLU_LIBRARY ${OPENGL_LIBRARIES})
+ SET (GLU_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
+ENDIF (OPENGL_GLU_FOUND)
+