diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-09-28 10:14:09 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-09-28 10:14:09 +0200 |
commit | 4ddff15710c9814c1fa6875570a9a18e22943605 (patch) | |
tree | b293d16f89898708337423aaf8b6f2370c025504 /SetFlags.cmake | |
parent | Merge pull request #2504 from SafwatHalaby/revert (diff) | |
parent | Added the _UNICODE flag on Windows (diff) | |
download | cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.gz cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.bz2 cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.lz cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.xz cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.zst cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.zip |
Diffstat (limited to 'SetFlags.cmake')
-rw-r--r-- | SetFlags.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 076fba1f7..b4c7365fe 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -62,6 +62,9 @@ macro(set_flags) set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /LTCG") set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /LTCG") set(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} /LTCG") + + # Make build use Unicode: + add_definitions(-DUNICODE -D_UNICODE) elseif(APPLE) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") |