From ffccc435ca0faaea702b1a1fd260a9130c4ba01d Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 22 Dec 2022 19:32:32 +0100 Subject: [PATCH] Use unicode as chracter set for lib build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eacdfeb..ab7ab80c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -321,6 +321,7 @@ if(OS_WINDOWS) configure_file(cmake/bundle/windows/installer-Windows.iss.in ${CMAKE_CURRENT_BINARY_DIR}/installer-Windows.generated.iss) + target_compile_definitions(${LIB_NAME} PRIVATE UNICODE _UNICODE) if(MSVC) target_compile_options(${LIB_NAME} PUBLIC /MP /d2FH4- /wd4267 /wd4267) endif()