BUG: Fix find_* command calls with no PATHS but new-style options.
- In cmFindBase when CheckCommonArgument returns true, set newStyle - Otherwise if there are no PATHS then the ancient-style compatibility mode is enabled and the common argument is treated as a path.
This commit is contained in:
parent
9e44be371f
commit
abb1c0e25e
|
@ -204,6 +204,7 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
|
|||
doingPaths = false;
|
||||
doingPathSuf = false;
|
||||
doingNames = false;
|
||||
newStyle = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue