summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-14 17:55:38 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-03 14:04:23 (GMT)
commitafb998704e67d3d3ce5b24c112cb06e770fca78d (patch)
tree8e8ecdb72ffb76a8d122be31211d684f107890db /Source/cmGeneratorTarget.cxx
parente7edba2bafc7eb187a05c20acf4e859e500c7c5b (diff)
downloadCMake-afb998704e67d3d3ce5b24c112cb06e770fca78d.zip
CMake-afb998704e67d3d3ce5b24c112cb06e770fca78d.tar.gz
CMake-afb998704e67d3d3ce5b24c112cb06e770fca78d.tar.bz2
Remove filtering of allowed INTERFACE library properties
Previously we disallowed use of arbitrary properties on INTERFACE libraries. The goal was to future-proof projects using them by not allowing properties to be set that may affect their future inclusion in the generated buildsystem. In order to prepare to actually include INTERFACE libraries in the generated buildsystem, drop the filter and allow arbitrary properties to be set. Issue: #19145
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 41cff01..d39c493 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -380,11 +380,6 @@ std::string cmGeneratorTarget::GetExportName() const
cmProp cmGeneratorTarget::GetProperty(const std::string& prop) const
{
- if (!cmTargetPropertyComputer::PassesWhitelist(
- this->GetType(), prop, this->Makefile->GetMessenger(),
- this->GetBacktrace())) {
- return nullptr;
- }
if (cmProp result = cmTargetPropertyComputer::GetProperty(
this, prop, this->Makefile->GetMessenger(), this->GetBacktrace())) {
return result;