From b497d1139ca9b3ddd7c34ab3e95d9e4f55453993 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 7 Dec 2016 13:04:43 +0100 Subject: [PATCH] Changed: Use UNICODE for all MFC projects because it's recommended by MS --- code/CMakeModules/FindCustomMFC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/FindCustomMFC.cmake b/code/CMakeModules/FindCustomMFC.cmake index 7865d0828..b71e4a8d8 100644 --- a/code/CMakeModules/FindCustomMFC.cmake +++ b/code/CMakeModules/FindCustomMFC.cmake @@ -41,7 +41,7 @@ IF(MFC_FOUND) LINK_DIRECTORIES(${MFC_LIBRARY_DIR}) # Set definitions for using MFC in DLL - SET(MFC_DEFINITIONS -D_AFXDLL) + SET(MFC_DEFINITIONS -D_AFXDLL -DUNICODE -D_UNICODE) # Set CMake flag to use MFC DLL SET(CMAKE_MFC_FLAG 2)