summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixLibrariesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUnixLibrariesCommand.cxx')
-rw-r--r--Source/cmUnixLibrariesCommand.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmUnixLibrariesCommand.cxx b/Source/cmUnixLibrariesCommand.cxx
index a32529c..3241167 100644
--- a/Source/cmUnixLibrariesCommand.cxx
+++ b/Source/cmUnixLibrariesCommand.cxx
@@ -25,11 +25,9 @@ cmUnixLibrariesCommand::cmUnixLibrariesCommand()
// cmUnixLibrariesCommand
bool cmUnixLibrariesCommand::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)
{