Imported Upstream version 2.8.10.2
[platform/upstream/cmake.git] / Modules / FindGLU.cmake
1
2 #=============================================================================
3 # Copyright 2001-2009 Kitware, Inc.
4 #
5 # Distributed under the OSI-approved BSD License (the "License");
6 # see accompanying file Copyright.txt for details.
7 #
8 # This software is distributed WITHOUT ANY WARRANTY; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # See the License for more information.
11 #=============================================================================
12 # (To distribute this file outside of CMake, substitute the full
13 #  License text for the above reference.)
14
15 # Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4
16 # GLU library is now found by FindOpenGL.cmake
17 #
18
19 message(STATUS
20   "WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead")
21
22 include(FindOpenGL)
23
24 if (OPENGL_GLU_FOUND)
25   set (GLU_LIBRARY ${OPENGL_LIBRARIES})
26   set (GLU_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
27 endif ()
28