summaryrefslogtreecommitdiff
path: root/Source/cmRulePlaceholderExpander.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRulePlaceholderExpander.cxx')
-rw-r--r--Source/cmRulePlaceholderExpander.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmRulePlaceholderExpander.cxx b/Source/cmRulePlaceholderExpander.cxx
index 6f40ec6776..f5f9c67140 100644
--- a/Source/cmRulePlaceholderExpander.cxx
+++ b/Source/cmRulePlaceholderExpander.cxx
@@ -141,6 +141,16 @@ std::string cmRulePlaceholderExpander::ExpandRuleVariable(
return replaceValues.DependencyFile;
}
}
+ if (replaceValues.Fatbinary) {
+ if (variable == "FATBINARY") {
+ return replaceValues.Fatbinary;
+ }
+ }
+ if (replaceValues.RegisterFile) {
+ if (variable == "REGISTER_FILE") {
+ return replaceValues.RegisterFile;
+ }
+ }
if (replaceValues.Target) {
if (variable == "TARGET_QUOTED") {