Changed: Use UNICODE for all MFC projects because it's recommended by MS

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-07 13:04:43 +01:00
parent a123e4e179
commit 28042f6b21

View file

@ -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)