https://github.com/Kitware/CMake
Revision 7fa7f55230fda5ac0135b1f4a220c15ad5983857 authored by Brad King on 18 December 2019, 10:28:27 UTC, committed by Brad King on 18 December 2019, 10:34:27 UTC
Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension
for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process
`.hh` files with `AUTOMOC`.  However, this change can break existing
projects that do not expect the behavior.  Revert it for now.  It can
be restored later via a policy.

Fixes: #20101
1 parent 4771c4e
Raw File
Tip revision: 7fa7f55230fda5ac0135b1f4a220c15ad5983857 authored by Brad King on 18 December 2019, 10:28:27 UTC
Autogen: Revert processing of .hh files for compatibility
Tip revision: 7fa7f55
FindGLU.cmake
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.


# Use of this file is deprecated, and is here for backwards compatibility with CMake 1.4
# GLU library is now found by FindOpenGL.cmake
#

message(STATUS
  "WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead")

include(${CMAKE_CURRENT_LIST_DIR}/FindOpenGL.cmake)

if (OPENGL_GLU_FOUND)
  set (GLU_LIBRARY ${OPENGL_LIBRARIES})
  set (GLU_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
endif ()
back to top