summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-31 12:48:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-31 12:48:36 (GMT)
commitb728ec3c3160e26dbfb7631aebd6fa22cfe6e20f (patch)
tree41bc1c90b3aa84935f803da6e6db7e491a081b85 /Source
parentcdfeda60f605fc8ef044ae28d4209a445ca09ffd (diff)
parent72d13ff4826ff3e120fe2d052495b0806c2a5b90 (diff)
downloadCMake-b728ec3c3160e26dbfb7631aebd6fa22cfe6e20f.zip
CMake-b728ec3c3160e26dbfb7631aebd6fa22cfe6e20f.tar.gz
CMake-b728ec3c3160e26dbfb7631aebd6fa22cfe6e20f.tar.bz2
Merge topic 'install-interface-includes'
72d13ff install: Remove error condition using INCLUDES DESTINATION without EXPORT.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmInstallCommand.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 4649eda..0faf1d4 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -295,13 +295,6 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
return false;
}
- if(!includesArgs.GetIncludeDirs().empty() && exports.GetString().empty())
- {
- this->SetError("TARGETS given INCLUDES DESTINATION, but EXPORT set "
- "not specified.");
- return false;
- }
-
// Enforce argument rules too complex to specify for the
// general-purpose parser.
if(archiveArgs.GetNamelinkOnly() ||