(Windows) Defined UNICODE and _UNICODE in the Cmake configuration to force Unicode support for the Win32 API

This commit is contained in:
Leon Styhre 2023-08-10 19:30:10 +02:00
parent ae66e6a317
commit 5d0b4ddfc4

View file

@ -276,6 +276,8 @@ endif()
if(WIN32) if(WIN32)
set(BUNDLED_CERTS ON) set(BUNDLED_CERTS ON)
add_compile_definitions(UNICODE)
add_compile_definitions(_UNICODE)
endif() endif()
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------