From 779877a2eeb96124f8959938b943579620d87416 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 14 Dec 2007 20:46:15 -0500 Subject: BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff --- Source/cmFindLibraryCommand.cxx | 1 + Source/cmFindPathCommand.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 208ed02..fb836c8 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -38,6 +38,7 @@ cmFindLibraryCommand::cmFindLibraryCommand() "CMAKE_FIND_ROOT_PATH_MODE_XXX", "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY"); + this->EnvironmentPath = "LIB"; this->GenericDocumentation += "\n" "If the library found is a framework, then VAR will be set to " diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx index 80d0b10..00c08ec 100644 --- a/Source/cmFindPathCommand.cxx +++ b/Source/cmFindPathCommand.cxx @@ -21,6 +21,7 @@ cmFindPathCommand::cmFindPathCommand() { + this->EnvironmentPath = "INCLUDE"; this->IncludeFileInPath = false; cmSystemTools::ReplaceString(this->GenericDocumentation, "FIND_XXX", "find_path"); -- cgit v0.12