diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-18 12:50:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-18 13:29:17 (GMT) |
commit | 5bb4248a807029053156dbf4a3cdba4427766306 (patch) | |
tree | 90439f898a63d61351f1fb5b72346382f272ce82 /Source/cmFindPackageCommand.cxx | |
parent | fc7ab8874b0e5c2c010fb73718ae8702b8853ca0 (diff) | |
download | CMake-5bb4248a807029053156dbf4a3cdba4427766306.zip CMake-5bb4248a807029053156dbf4a3cdba4427766306.tar.gz CMake-5bb4248a807029053156dbf4a3cdba4427766306.tar.bz2 |
cmMakefile: Remove fullPath parameter from ReadListFile.
There is no reason for this to be a responsibility of
ReadListFile. Additionally, the only user of it already computes
it itself.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index e1074b0..af99b1c 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -999,7 +999,7 @@ bool cmFindPackageCommand::FindAppBundleConfig() //---------------------------------------------------------------------------- bool cmFindPackageCommand::ReadListFile(const char* f, PolicyScopeRule psr) { - if(this->Makefile->ReadListFile(this->Makefile->GetCurrentListFile(), f, 0, + if(this->Makefile->ReadListFile(this->Makefile->GetCurrentListFile(), f, !this->PolicyScope || psr == NoPolicyScope)) { return true; |