https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5d1ecc7575e899b1a35466fc130e4b104fb8e755
commit 5d1ecc7575e899b1a35466fc130e4b104fb8e755 Author: Jérôme Gardou <[email protected]> AuthorDate: Wed Feb 3 18:35:12 2021 +0100 Commit: Jérôme Gardou <[email protected]> CommitDate: Wed Mar 3 08:34:32 2021 +0100 [CMAKE] Define _SBCS when using VS generator CORE-17423 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fcd92b5512a..57fe94a8a5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,9 +127,10 @@ else() # Print build type message("-- Build Type: ${CMAKE_BUILD_TYPE}") - # Always add /MT in VS CMAKE_GENERATOR + # Always add /MT in VS CMAKE_GENERATOR and define _SBCS otherwise VS thinks it's a multi-byte or whatever project if (MSVC_IDE) add_compile_options("/MT") + add_compile_definitions(_SBCS) endif()
