mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'fileapi-install-generators'
d70a0f8681 fileapi: Fix codemodel target install destination for cross-dir rules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3639
This commit is contained in:
@@ -43,11 +43,13 @@ static cmInstallTargetGenerator* CreateInstallTargetGenerator(
|
||||
target.SetHaveInstallRule(true);
|
||||
const char* component = namelink ? args.GetNamelinkComponent().c_str()
|
||||
: args.GetComponent().c_str();
|
||||
return new cmInstallTargetGenerator(
|
||||
auto g = new cmInstallTargetGenerator(
|
||||
target.GetName(), destination.c_str(), impLib,
|
||||
args.GetPermissions().c_str(), args.GetConfigurations(), component,
|
||||
message, args.GetExcludeFromAll(), args.GetOptional() || forceOpt,
|
||||
backtrace);
|
||||
target.AddInstallGenerator(g);
|
||||
return g;
|
||||
}
|
||||
|
||||
static cmInstallTargetGenerator* CreateInstallTargetGenerator(
|
||||
|
||||
Reference in New Issue
Block a user