summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLUT.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindGLUT: Add library dependencies only if they existBrad King2017-04-261-3/+5
| | | | Fixes: #14060
* 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.
* FindGLUT.cmake: Add imported targets and documentationPhilipp Moeller2014-06-241-8/+69
| | | | Also let find_library really search for frameworks on OS X.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-7/+18
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* FindGLUT: BeOS does not have libXi and libXmuRolf Eike Beer2013-01-071-7/+21
|
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-22/+22
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-10/+10
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* FindGLUT: honor REQUIRED (#12466)Rolf Eike Beer2012-02-151-18/+16
|
* Add freeglut as library name (#10031)David Cole2011-01-171-1/+1
| | | | Thanks to Thomas Sondergaard for the patch in the bug report.
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* BUG: fix for 7746Bill Hoffman2008-09-271-0/+1
|
* BUG: fix bug 6594 look for glut in more places on windowsBill Hoffman2008-03-131-40/+23
|
* ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of theAlexander Neundorf2007-07-191-20/+1
| | | | | | | not-too-complicated modules -remove unnecessary default search paths used in the FIND_XXX() calls Alex
* BUG: fix for bug#3646 GLUT not Glut for framework nameBill Hoffman2006-10-031-1/+1
|
* ENH: some style fixes for the bookKen Martin2005-12-151-1/+1
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-11/+8
|
* BUG: fix for bug 852Bill Hoffman2005-07-151-1/+2
|
* ENH: Removing extra 64-bit search paths. They are now constructed ↵Brad King2005-04-071-8/+0
| | | | automatically from the paths listed.
* ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.Brad King2005-04-071-0/+8
|
* BUG: fix for bug 743Bill Hoffman2004-04-221-1/+3
|
* ENH: Description of variables now specifies that the full path is required.Luis Ibanez2002-12-031-4/+4
|
* Hide lots of values in the advanced listIan Scott2002-09-051-4/+7
| | | | | Fix some bugs OpenGL always needs X11 on Unix
* Fixed mistake in commentsIan Scott2002-09-031-31/+87
| | | | | Transferred OPENGL finding logic in from VXL Added Some backwards compatibility with CMake1.4
* ENH: add more paths for the HPSebastien Barre2002-06-181-0/+2
|
* FIX: GLU and GLUT flags for Mac OSXSebastien Barre2002-06-171-20/+24
|
* ENH: use OPENGL_LIBRARY_PATH as additional search pathSebastien Barre2002-06-141-3/+10
|
* ENH/FIX: Glut should be found, not set. Add search path for CygwinSebastien Barre2002-06-141-12/+18
|
* FIX: comply with the way OpenGL libs are set in FindOpenGL and FindGLUSebastien Barre2002-06-131-2/+1
|
* ENH: make all OpenGL libs advanced, and add support for glu lib with BorlandSebastien Barre2002-06-131-0/+7
|
* fix for glut on win32Bill Hoffman2002-06-061-1/+2
|
* Search path for OpenGL related librariesLuis Ibanez2001-07-161-0/+29