From abb1c0e25e950891caf57d13a55583175729af5b Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 8 Jun 2008 11:41:08 -0400 Subject: [PATCH] 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. --- Source/cmFindBase.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index f5ac83d56..68e091baa 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -204,6 +204,7 @@ bool cmFindBase::ParseArguments(std::vector const& argsIn) doingPaths = false; doingPathSuf = false; doingNames = false; + newStyle = true; } else {