2
0
Эх сурвалжийг харах

Set MSVC projects to default to Unicode

MBCS is deprecated and shouldn't be used in new projects
Richard 6 жил өмнө
parent
commit
fe6b316695
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -133,6 +133,8 @@ IF(MSVC)
     "Install MSVC debug files."
     ON
   )
+  # Multibyte character set is deprecated, but default
+  ADD_DEFINITIONS( -DUNICODE -D_UNICODE )
 ENDIF(MSVC)
 
 IF (BUILD_FRAMEWORK)