summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-02-03 16:24:38 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-02-03 16:24:57 (GMT)
commit2b17b6da6acadc6676c342924bb10e2d944bf0f3 (patch)
tree1f0cecb6ccaf541fed5f1ac2e4df02d22e17fa0a
parentf34876561f018d20b26c5b322a37aff2b133850f (diff)
downloadCMake-2b17b6da6acadc6676c342924bb10e2d944bf0f3.zip
CMake-2b17b6da6acadc6676c342924bb10e2d944bf0f3.tar.gz
CMake-2b17b6da6acadc6676c342924bb10e2d944bf0f3.tar.bz2
cmGlobalGenerator: Avoid referencing CMAKE_CFG_INTDIR
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 4cfec22..492f848 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2911,7 +2911,7 @@ void cmGlobalGenerator::AddGlobalTarget_Install(
singleLine.push_back(cfgArg);
cfgArg = "-DEFFECTIVE_PLATFORM_NAME=$(EFFECTIVE_PLATFORM_NAME)";
} else {
- cfgArg += *mf->GetDefinition("CMAKE_CFG_INTDIR");
+ cfgArg += this->GetCMakeCFGIntDir();
}
singleLine.push_back(cfgArg);
}