diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-04-24 20:49:12 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-04-24 20:49:12 (GMT) |
commit | 73f04d1409ec4dfcb3b8db3e104da2a894d019a2 (patch) | |
tree | e1578688252c8a50fb307d60045379a53a02d646 /Source/cmWin32LibrariesCommand.cxx | |
parent | b5746484e4c396489b707e0f8b4d1f539e62a965 (diff) | |
download | CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.zip CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.gz CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.bz2 |
many fixes and cleanup and features
Diffstat (limited to 'Source/cmWin32LibrariesCommand.cxx')
-rw-r--r-- | Source/cmWin32LibrariesCommand.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmWin32LibrariesCommand.cxx b/Source/cmWin32LibrariesCommand.cxx index a3e02b1..2263b04 100644 --- a/Source/cmWin32LibrariesCommand.cxx +++ b/Source/cmWin32LibrariesCommand.cxx @@ -26,11 +26,9 @@ cmWin32LibrariesCommand::cmWin32LibrariesCommand() // cmWin32LibrariesCommand bool cmWin32LibrariesCommand::Invoke(std::vector<std::string>& args) { - if(args.size() < 1 ) - { - this->SetError("Called with incorrect number of arguments"); - return false; - } + this->SetError(" deprecated - use LIBRARY command inside an IF block "); + return false; + for(std::vector<std::string>::iterator i = args.begin(); i != args.end(); ++i) { |