diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c99dd5e2..9aea4af87 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -18,6 +18,9 @@ if (MSVC) | |||
| 18 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. | 18 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. |
| 19 | add_definitions(-DWIN32_LEAN_AND_MEAN) | 19 | add_definitions(-DWIN32_LEAN_AND_MEAN) |
| 20 | 20 | ||
| 21 | # Ensure that projects build with Unicode support. | ||
| 22 | add_definitions(-DUNICODE -D_UNICODE) | ||
| 23 | |||
| 21 | # /W3 - Level 3 warnings | 24 | # /W3 - Level 3 warnings |
| 22 | # /MP - Multi-threaded compilation | 25 | # /MP - Multi-threaded compilation |
| 23 | # /Zi - Output debugging information | 26 | # /Zi - Output debugging information |