diff options
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r-- | Source/cmFindBase.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index 9881243..dea1642 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -603,6 +603,10 @@ void cmFindBase::AddFindPrefix(std::vector<std::string>& dest, dirWithSubdir += "/sbin"; dest.push_back(dirWithSubdir); } + if(!subdir.empty()) + { + dest.push_back(*it); + } } } |