summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetIncludeDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-29 16:43:28 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-29 17:44:54 (GMT)
commitf6b16d4b0642d26111cddff714b464e22b715482 (patch)
tree2f9e9edc118a85091b9d7631f43830d1707029e6 /Source/cmTargetIncludeDirectoriesCommand.cxx
parentb3a7e19ee479fda18b1dfe237fc4b78467c05fd7 (diff)
downloadCMake-f6b16d4b0642d26111cddff714b464e22b715482.zip
CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.gz
CMake-f6b16d4b0642d26111cddff714b464e22b715482.tar.bz2
Don't allow targets args in the new target commands.
Diffstat (limited to 'Source/cmTargetIncludeDirectoriesCommand.cxx')
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index aeba468..51a2b6b 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -41,26 +41,6 @@ void cmTargetIncludeDirectoriesCommand
}
//----------------------------------------------------------------------------
-bool cmTargetIncludeDirectoriesCommand
-::HandleNonTargetArg(std::string &content,
- const std::string &sep,
- const std::string &entry,
- const std::string &tgt)
-{
- if (!cmSystemTools::FileIsFullPath(entry.c_str()))
- {
- cmOStringStream e;
- e << "Cannot specify relative include directory \"" << entry << "\" for "
- "target \"" << tgt << "\". Only absolute paths are permitted";
- this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
- return false;
- }
-
- content += sep + entry;
- return true;
-}
-
-//----------------------------------------------------------------------------
void cmTargetIncludeDirectoriesCommand
::HandleDirectContent(cmTarget *tgt, const std::string &content,
bool prepend)