summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-01 11:59:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-01 11:59:33 (GMT)
commit436b57ccb22bea6ec6e9a0fda8922e8d217d91f4 (patch)
treebd42c4ff2ccdfcaf1a458f719b445592b9fa58b1 /Source/cmLocalVisualStudio7Generator.cxx
parentb1e1cb2d0dea1198efb4b02652180cd3eae908c9 (diff)
parentc1f1eaf7a4e4f1dfaba9a1fb1738aad48296bcda (diff)
downloadCMake-436b57ccb22bea6ec6e9a0fda8922e8d217d91f4.zip
CMake-436b57ccb22bea6ec6e9a0fda8922e8d217d91f4.tar.gz
CMake-436b57ccb22bea6ec6e9a0fda8922e8d217d91f4.tar.bz2
Merge topic 'genexpr-for-mfc-flag'
c1f1eaf7a4 VS: Teach CMAKE_MFC_FLAG to support generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5283
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index b54a83f..fdf8307 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -583,7 +583,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(
{
std::string mfcFlag;
if (cmProp p = this->Makefile->GetDefinition("CMAKE_MFC_FLAG")) {
- mfcFlag = *p;
+ mfcFlag = cmGeneratorExpression::Evaluate(*p, this, configName);
} else {
mfcFlag = "0";
}