https://github.com/Kitware/CMake
Revision a7d853868b147d9051c40564f2b3e445011b888b authored by Claudio Fantacci on 13 March 2019, 15:04:16 UTC, committed by Brad King on 15 March 2019, 15:22:29 UTC
Replicate behaviour of upstream GLEW.

* define the imported target GLEW::glew for the shared library GLEW

* if GLEW_USE_STATIC_LIBS is defined and set to TRUE, this module instead
  defines the imported target GLEW::glew_s for the static library GLEW

* an imported target GLEW::GLEW is created as a copy of either GLEW::glew
  or GLEW::glew_s

* by setting GLEW_VERBOSE you print out the log of the module.

Fixes: #17638, #17864, #18989
1 parent 80b761b
Raw File
Tip revision: a7d853868b147d9051c40564f2b3e445011b888b authored by Claudio Fantacci on 13 March 2019, 15:04:16 UTC
FindGLEW: Update implementation
Tip revision: a7d8538
cmThirdParty.h.in
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#ifndef cmThirdParty_h
#define cmThirdParty_h

/* Whether CMake is using its own utility libraries.  */
#cmakedefine CMAKE_USE_SYSTEM_CURL
#cmakedefine CMAKE_USE_SYSTEM_EXPAT
#cmakedefine CMAKE_USE_SYSTEM_KWIML
#cmakedefine CMAKE_USE_SYSTEM_ZLIB
#cmakedefine CMAKE_USE_SYSTEM_BZIP2
#cmakedefine CMAKE_USE_SYSTEM_LIBARCHIVE
#cmakedefine CMAKE_USE_SYSTEM_LIBLZMA
#cmakedefine CMAKE_USE_SYSTEM_FORM
#cmakedefine CMAKE_USE_SYSTEM_JSONCPP
#cmakedefine CMAKE_USE_SYSTEM_LIBRHASH
#cmakedefine CMAKE_USE_SYSTEM_LIBUV

#endif
back to top