summaryrefslogtreecommitdiffstats
path: root/Source/cmWin32IncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-24 20:49:12 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-24 20:49:12 (GMT)
commit73f04d1409ec4dfcb3b8db3e104da2a894d019a2 (patch)
treee1578688252c8a50fb307d60045379a53a02d646 /Source/cmWin32IncludeDirectoryCommand.cxx
parentb5746484e4c396489b707e0f8b4d1f539e62a965 (diff)
downloadCMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.zip
CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.gz
CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.bz2
many fixes and cleanup and features
Diffstat (limited to 'Source/cmWin32IncludeDirectoryCommand.cxx')
-rw-r--r--Source/cmWin32IncludeDirectoryCommand.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmWin32IncludeDirectoryCommand.cxx b/Source/cmWin32IncludeDirectoryCommand.cxx
index c595893..bf08aa2 100644
--- a/Source/cmWin32IncludeDirectoryCommand.cxx
+++ b/Source/cmWin32IncludeDirectoryCommand.cxx
@@ -27,11 +27,9 @@ cmWin32IncludeDirectoryCommand::cmWin32IncludeDirectoryCommand()
bool cmWin32IncludeDirectoryCommand::Invoke(std::vector<std::string>& args)
{
- if(args.size() < 1 )
- {
- this->SetError("called with incorrect number of arguments");
- return false;
- }
+ this->SetError(" deprecated - use INCLUDE_DIRECTORIES command inside an if block ");
+ return false;
+
for(std::vector<std::string>::iterator i = args.begin();
i != args.end(); ++i)
{