Skip to content

VS: Improve robustness of CharacterSet selection

Deniz Bahadir requested to merge dbahadir/cmake:fix-issue-25379 into master

In order to determine what character-set (Unicode, Multi-Byte, none) shall be set in the generated *.vcxproj files, CMake checks if one of the macros _UNICODE or _SBCS are defined. However, as these macros can be defined with or without a value, the check should always recognize these macros whether they are defined with a value or without. That is now assured by this PR

Fixes: #25379 (closed)
Topic-rename: vs-CharacterSet

Edited by Brad King

Merge request reports