mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
VS: Teach CMAKE_MFC_FLAG to support generator expressions
This commit is contained in:
committed by
Brad King
parent
558ce94016
commit
c1f1eaf7a4
@@ -1224,7 +1224,8 @@ void cmVisualStudio10TargetGenerator::WriteMSToolConfigurationValues(
|
||||
cmGlobalVisualStudio10Generator* gg = this->GlobalGenerator;
|
||||
cmProp mfcFlag = this->Makefile->GetDefinition("CMAKE_MFC_FLAG");
|
||||
if (mfcFlag) {
|
||||
std::string const mfcFlagValue = *mfcFlag;
|
||||
std::string const mfcFlagValue =
|
||||
cmGeneratorExpression::Evaluate(*mfcFlag, this->LocalGenerator, config);
|
||||
|
||||
std::string useOfMfcValue = "false";
|
||||
if (this->GeneratorTarget->GetType() <= cmStateEnums::OBJECT_LIBRARY) {
|
||||
|
||||
Reference in New Issue
Block a user