mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
VS: Fix SBCS support for object libraries
In commit 3a53005f7d (Build object library targets in VS, 2012-03-12,
v2.8.8~29^2~13) we updated the condition for unicode but accidentally
left out the SBCS case support for object libraries.
Fixes: #19469
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user