diff options
author | Brad King <brad.king@kitware.com> | 2013-01-23 20:11:40 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-23 20:11:40 (GMT) |
commit | 76ace2b95aba4b12c049224aa8a2d18c67129d45 (patch) | |
tree | ccd724658e75bc976fb0ae88b70e3078f8e57aa6 /Source/cmTargetIncludeDirectoriesCommand.cxx | |
parent | 7db963a01789f50f6c3bf111a63dcab09b9a88cd (diff) | |
parent | b98d14d40016efee420bee26b9795880fdf6a5f8 (diff) | |
download | CMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.zip CMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.tar.gz CMake-76ace2b95aba4b12c049224aa8a2d18c67129d45.tar.bz2 |
Merge topic 'disallow-IMPORTED-interface-porcelain'
b98d14d Disallow porcelain to populate includes and defines of IMPORTED targets.
48a4cf2 Revert "Allow target_link_libraries with IMPORTED targets."
Diffstat (limited to 'Source/cmTargetIncludeDirectoriesCommand.cxx')
-rw-r--r-- | Source/cmTargetIncludeDirectoriesCommand.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx index 18e2cba..aeba468 100644 --- a/Source/cmTargetIncludeDirectoriesCommand.cxx +++ b/Source/cmTargetIncludeDirectoriesCommand.cxx @@ -22,13 +22,11 @@ bool cmTargetIncludeDirectoriesCommand //---------------------------------------------------------------------------- void cmTargetIncludeDirectoriesCommand -::HandleImportedTargetInvalidScope(const std::string &tgt, - const std::string &scope) +::HandleImportedTarget(const std::string &tgt) { cmOStringStream e; - e << "Cannot specify " << scope << " include directories for imported " - "target \"" << tgt << "\". Include directories can only be " - "specified for an imported target in the INTERFACE mode."; + e << "Cannot specify include directories for imported target \"" + << tgt << "\"."; this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str()); } |