summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLEW.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindGLEW: Use correct library suffixes on MinGWمهدي شينون (Mehdi Chinoune)2023-09-031-0/+4
|
* FindGLEW: select_library_configuration might be used before it is definedMarkus Mützel2022-06-261-2/+1
| | | | Fixes a regression from a31b27078595fce911b2469937ac12934555644a
* FindGLEW: Set documented variables when found via upstream packageMarkus Mützel2022-06-211-0/+24
| | | | | | | | When GLEW is found by `find_package` (most of) the variables described in the documentation of `FindGLEW` aren't set. That could lead to issues when building packages that rely on these variables. Fixes: #19662
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-0/+5
| | | | Issue: #19715
* FindGLEW: Avoid using CMAKE_GENERATOR_PLATFORM to detect platformAsit Dhal2020-09-211-2/+1
| | | | | | Use `CMAKE_SIZEOF_VOID_P` instead. Fixes: #21128
* FindGLEW use NAMES_PER_DIRSibi Siddharthan2020-07-011-0/+4
| | | | Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* Help: Replace UTF-8 apostrophe with ascii apostropheBrad King2020-02-121-1/+1
| | | | | | Also replace UTF-8 graphical characters with simple dashes. Fixes: #20349
* FindGLEW: Fix typo in verbose log messageClaudio Fantacci2019-08-061-1/+1
|
* FindGLEW: Add required OpenGL dependency in macOSClaudio Fantacci2019-08-061-0/+31
| | | | | macOS requires OpenGL as INTERFACE_LINK_LIBRARIES dependency in the GLEW targets. This commit fixes this issue.
* FindGLEW: Fix macOS library suffix selectionClaudio Fantacci2019-08-061-2/+2
| | | | | | | | | | Fix logic added by commit a7d853868b (FindGLEW: Update implementation, 2019-03-13, v3.15.0-rc1~375^2~1) on macOS. macOS is recognized as both UNIX and APPLE. Consequently, the library suffix for shared and static library was set, respectively, as `.so` and `.a`, just like UNIX systems. Fix this by properly checking the OS type. Fixes: #19542
* FindGLEW: fix CMAKE_FIND_LIBRARY_SUFFIXESClaudio Fantacci2019-04-031-0/+5
| | | | | | | FindGLEW temporarily changes the content of CMAKE_FIND_LIBRARY_SUFFIXES to look for static and dynamic GLEW library. However, it wasn't storing and restoring the initial content of such variable, causing possible issues in user project.
* FindGLEW: Update implementationClaudio Fantacci2019-03-151-33/+269
| | | | | | | | | | | | | | | | 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
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-22/+23
|
* Modules: Add x32-abi support to hard-coded pathsSteven Newbury2017-03-071-1/+1
| | | | | Update hard-coded library paths in bundled CMake Modules for libx32 as used with x32-abi.
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* FindGLEW: Search for debug and release configurations separatelyFARBOS Arnaud2016-06-201-9/+34
|
* FindGLEW: Add imported target and documentationPhilipp Möller2014-06-231-0/+16
|
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-4/+12
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Initial version of find moduleBenjamin Eikel2012-09-011-0/+30