Commit Graph

11 Commits

Author SHA1 Message Date
Brad King
aa170c20f7 FindITK: Use passthru find_package config mode for messages
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.
2011-04-18 14:11:54 -04:00
Brad King
38b0a84eea Modernize FindITK module (#11494)
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.
2010-11-22 13:52:58 -05:00
Todd Gamblin
2cde67a781 Modules: Fix spelling 'To distributed' -> 'To distribute' 2010-08-09 08:48:31 -04:00
Brad King
c4bb9c9d42 Convert CMake find-modules to BSD License
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.
2009-09-28 11:45:50 -04:00
Ken Martin
d2689c95a1 ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
Bill Hoffman
b7fa820118 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Brad King
7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 11:00:41 -04:00
Brad King
78803c01ea ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with REQUIRED argument and package was not found. 2004-04-21 11:33:47 -04:00
Bill Hoffman
c7a42a1b1f BUG: fix for bug 608 2004-04-14 17:02:40 -04:00
Brad King
c79abbd99c ENH: Enhanced FindITK supporting use of ITK from an install tree or a build 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. 2002-11-06 18:40:13 -05:00
Bill Hoffman
0fb47ad240 *** empty log message *** 2001-10-26 18:21:53 -04:00