summaryrefslogtreecommitdiff
path: root/Modules/FindITK.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-14/+14
| | | | | | | | | | | | | | | | | 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-7/+7
| | | | | | | | | | | | | | | | | 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/ \+$//'
* FindITK: Use passthru find_package config mode for messagesBrad King2011-04-181-7/+9
| | | | | | | The custom error message that mentions PREFIX/lib/InsightToolkit is not accurate for ITKv4. Just use the more generic message that find_package generates by default. This module is now almost a no-op but exists to tell find_package to look for the InsightToolkit name as well as ITK.
* Modernize FindITK module (#11494)Brad King2010-11-221-61/+17
| | | | | | | Use the Config mode of find_package to search for ITKConfig. This makes FindITK a thin-wrapper around a standard find_package, bringing benefits like searching lib64 paths when appropriate. This does for FindITK what commit 2c1a01dc (Modernize FindVTK module, 2009-10-07) did for FindVTK.
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | 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.
* ENH: some style fixes for the bookKen Martin2005-12-151-14/+14
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-17/+15
|
* BUG#682: Adding environment variable check to FIND_PACKAGE command.Brad King2004-04-261-0/+3
|
* ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with ↵Brad King2004-04-211-1/+6
| | | | REQUIRED argument and package was not found.
* BUG: fix for bug 608Bill Hoffman2004-04-141-2/+2
|
* ENH: Enhanced FindITK supporting use of ITK from an install tree or a build ↵Brad King2002-11-061-25/+63
| | | | tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded.
* *** empty log message ***Bill Hoffman2001-10-261-0/+43