BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff
This commit is contained in:
parent
a5e76555bf
commit
779877a2ee
@ -38,6 +38,7 @@ cmFindLibraryCommand::cmFindLibraryCommand()
|
|||||||
"CMAKE_FIND_ROOT_PATH_MODE_XXX",
|
"CMAKE_FIND_ROOT_PATH_MODE_XXX",
|
||||||
"CMAKE_FIND_ROOT_PATH_MODE_LIBRARY");
|
"CMAKE_FIND_ROOT_PATH_MODE_LIBRARY");
|
||||||
|
|
||||||
|
this->EnvironmentPath = "LIB";
|
||||||
this->GenericDocumentation +=
|
this->GenericDocumentation +=
|
||||||
"\n"
|
"\n"
|
||||||
"If the library found is a framework, then VAR will be set to "
|
"If the library found is a framework, then VAR will be set to "
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
cmFindPathCommand::cmFindPathCommand()
|
cmFindPathCommand::cmFindPathCommand()
|
||||||
{
|
{
|
||||||
|
this->EnvironmentPath = "INCLUDE";
|
||||||
this->IncludeFileInPath = false;
|
this->IncludeFileInPath = false;
|
||||||
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
cmSystemTools::ReplaceString(this->GenericDocumentation,
|
||||||
"FIND_XXX", "find_path");
|
"FIND_XXX", "find_path");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user