|
|
@@ -1213,7 +1213,7 @@ void cmVisualStudio10TargetGenerator::WriteMSToolConfigurationValues(
|
|
|
this->GeneratorTarget->GetPropertyAsBool("VS_WINRT_EXTENSIONS")) {
|
|
|
e1.Element("CharacterSet", "Unicode");
|
|
|
} else if (this->GeneratorTarget->GetType() <=
|
|
|
- cmStateEnums::MODULE_LIBRARY &&
|
|
|
+ cmStateEnums::OBJECT_LIBRARY &&
|
|
|
this->ClOptions[config]->UsingSBCS()) {
|
|
|
e1.Element("CharacterSet", "NotSet");
|
|
|
} else {
|