summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-09-26 23:19:29 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-09-26 23:19:29 +0200
commit803c0c69656188264bd01e71af036452286a8752 (patch)
treeece266b60ab60178f98d5102209aeb50d7b2e685 /SetFlags.cmake
parentMerge pull request #2495 from Seadragon91/clang-3.7 (diff)
downloadcuberite-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.cmake3
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")