Browse Source

Merge topic 'object-library-sbcs'

54290adcba VS: Fix SBCS support for object libraries

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3537
Brad King 6 years ago
parent
commit
609d86e813
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmVisualStudio10TargetGenerator.cxx

+ 1 - 1
Source/cmVisualStudio10TargetGenerator.cxx

@@ -1218,7 +1218,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 {