summaryrefslogtreecommitdiff
path: root/Source/cmTargetPropertyComputer.cxx
diff options
context:
space:
mode:
authorAvraham Shukron <avraham.shukron@gmail.com>2019-04-06 00:27:04 +0300
committerBrad King <brad.king@kitware.com>2019-04-11 11:09:42 -0400
commita40f9083dd17d1cccf89ccdf290c3f494cab3aac (patch)
tree2170e1aeba12956f710761a7facc5286b7936dc0 /Source/cmTargetPropertyComputer.cxx
parent4f07fdde26f1de59e2e8c2a32f0af7a2caff422d (diff)
downloadcmake-a40f9083dd17d1cccf89ccdf290c3f494cab3aac.tar.gz
INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER properties
Also support installing headers on an INTERFACE library. Signed-off-by: Avraham Shukron <avraham.shukron@gmail.com> Fixes: #15234
Diffstat (limited to 'Source/cmTargetPropertyComputer.cxx')
-rw-r--r--Source/cmTargetPropertyComputer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTargetPropertyComputer.cxx b/Source/cmTargetPropertyComputer.cxx
index d2c3496ed2..994fcf750b 100644
--- a/Source/cmTargetPropertyComputer.cxx
+++ b/Source/cmTargetPropertyComputer.cxx
@@ -67,6 +67,8 @@ bool cmTargetPropertyComputer::WhiteListedInterfaceProperty(
builtIns.insert("IMPORTED_GLOBAL");
builtIns.insert("MANUALLY_ADDED_DEPENDENCIES");
builtIns.insert("NAME");
+ builtIns.insert("PRIVATE_HEADER");
+ builtIns.insert("PUBLIC_HEADER");
builtIns.insert("TYPE");
}