Browse Source

Merge branch 'object-library-sbcs' into release-3.15

Merge-request: !3537
Brad King 6 years ago
parent
commit
1810a61b39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmVisualStudio10TargetGenerator.cxx

+ 1 - 1
Source/cmVisualStudio10TargetGenerator.cxx

@@ -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 {