diff options
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 1a931bb..5e374f2 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -42,8 +42,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "cmCacheManager.h" // cmFindLibraryCommand -bool cmFindLibraryCommand::InitialPass(std::vector<std::string>& args) +bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn) { + std::vector<std::string> args = argsIn; if(args.size() < 2) { this->SetError("called with incorrect number of arguments"); |