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.h | |
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.h')
-rw-r--r-- | Source/cmTargetIncludeDirectoriesCommand.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h index 90e039c..5a5f859 100644 --- a/Source/cmTargetIncludeDirectoriesCommand.h +++ b/Source/cmTargetIncludeDirectoriesCommand.h @@ -60,7 +60,7 @@ public: "Specify include directories or targets to use when compiling a given " "target. " "The named <target> must have been created by a command such as " - "add_executable or add_library.\n" + "add_executable or add_library and must not be an IMPORTED target.\n" "If BEFORE is specified, the content will be prepended to the property " "instead of being appended.\n" "The INTERFACE, PUBLIC and PRIVATE keywords are required to specify " @@ -82,8 +82,7 @@ public: cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmCommand); private: - virtual void HandleImportedTargetInvalidScope(const std::string &tgt, - const std::string &scope); + virtual void HandleImportedTarget(const std::string &tgt); virtual void HandleMissingTarget(const std::string &name); virtual bool HandleNonTargetArg(std::string &content, |