From 7c0844d2f4f98d40bc4bb7be89cc75740506db3c Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Apr 2004 11:00:41 -0400 Subject: BUG#682: Adding environment variable check to FIND_PACKAGE command. --- Modules/FindITK.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Modules/FindITK.cmake') diff --git a/Modules/FindITK.cmake b/Modules/FindITK.cmake index 12d27c6897..40c321b5f5 100644 --- a/Modules/FindITK.cmake +++ b/Modules/FindITK.cmake @@ -45,6 +45,9 @@ IF(NOT ITK_DIR) # Look for an installation or build tree. # FIND_PATH(ITK_DIR ITKConfig.cmake + # Look for an environment variable ITK_DIR. + $ENV{ITK_DIR} + # Look in places relative to the system executable search path. ${ITK_DIR_SEARCH} -- cgit v1.2.1