diff options
author | Avraham Shukron <avraham.shukron@gmail.com> | 2019-04-05 21:27:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-11 15:09:42 (GMT) |
commit | a40f9083dd17d1cccf89ccdf290c3f494cab3aac (patch) | |
tree | 2170e1aeba12956f710761a7facc5286b7936dc0 /Source/cmInstallCommand.cxx | |
parent | 4f07fdde26f1de59e2e8c2a32f0af7a2caff422d (diff) | |
download | CMake-a40f9083dd17d1cccf89ccdf290c3f494cab3aac.zip CMake-a40f9083dd17d1cccf89ccdf290c3f494cab3aac.tar.gz CMake-a40f9083dd17d1cccf89ccdf290c3f494cab3aac.tar.bz2 |
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/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 20d1a31..65875dc 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -663,8 +663,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args) // generators for them. bool createInstallGeneratorsForTargetFileSets = true; - if (target.IsFrameworkOnApple() || - target.GetType() == cmStateEnums::INTERFACE_LIBRARY) { + if (target.IsFrameworkOnApple()) { createInstallGeneratorsForTargetFileSets = false; } |