From 5d0b4ddfc4b4fab9772626303c15cf1a288e64bb Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 10 Aug 2023 19:30:10 +0200 Subject: [PATCH] (Windows) Defined UNICODE and _UNICODE in the Cmake configuration to force Unicode support for the Win32 API --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8648f2fb0..0cced7334 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,6 +276,8 @@ endif() if(WIN32) set(BUNDLED_CERTS ON) + add_compile_definitions(UNICODE) + add_compile_definitions(_UNICODE) endif() #---------------------------------------------------------------------------------------------------