mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[CMAKE] Define _SBCS when using VS generator
CORE-17423
This commit is contained in:
parent
e7f08b3e30
commit
5d1ecc7575
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue