mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
This commit is contained in:
committed by
Brad King
parent
4f07fdde26
commit
a40f9083dd
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user