diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-09-26 23:19:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-09-26 23:19:29 +0200 |
commit | 803c0c69656188264bd01e71af036452286a8752 (patch) | |
tree | ece266b60ab60178f98d5102209aeb50d7b2e685 /SetFlags.cmake | |
parent | Merge pull request #2495 from Seadragon91/clang-3.7 (diff) | |
download | cuberite-803c0c69656188264bd01e71af036452286a8752.tar cuberite-803c0c69656188264bd01e71af036452286a8752.tar.gz cuberite-803c0c69656188264bd01e71af036452286a8752.tar.bz2 cuberite-803c0c69656188264bd01e71af036452286a8752.tar.lz cuberite-803c0c69656188264bd01e71af036452286a8752.tar.xz cuberite-803c0c69656188264bd01e71af036452286a8752.tar.zst cuberite-803c0c69656188264bd01e71af036452286a8752.zip |
Diffstat (limited to '')
-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") |