FindGLU.cmake 1020 B

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