Browse Source

Set MSVC projects to default to Unicode

MBCS is deprecated and shouldn't be used in new projects
Richard 6 năm trước cách đây
mục cha
commit
fe6b316695
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)