Changed: Use UNICODE for all MFC projects because it's recommended by MS
This commit is contained in:
parent
e26308e8b2
commit
b497d1139c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ IF(MFC_FOUND)
|
||||||
LINK_DIRECTORIES(${MFC_LIBRARY_DIR})
|
LINK_DIRECTORIES(${MFC_LIBRARY_DIR})
|
||||||
|
|
||||||
# Set definitions for using MFC in DLL
|
# 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 flag to use MFC DLL
|
||||||
SET(CMAKE_MFC_FLAG 2)
|
SET(CMAKE_MFC_FLAG 2)
|
||||||
|
|
Loading…
Reference in a new issue