summaryrefslogtreecommitdiffstats
path: root/Source/cmWin32LibrariesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWin32LibrariesCommand.cxx')
-rw-r--r--Source/cmWin32LibrariesCommand.cxx8
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)
{