aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDECompilerSettings.cmake
diff options
context:
space:
mode:
authorPatrick von Reth <vonreth@kde.org>2014-08-11 14:24:23 +0200
committerPatrick von Reth <vonreth@kde.org>2014-08-11 14:24:23 +0200
commit8cf3d0ae17b84adb484c4a32e4475a45fa51848a (patch)
tree4dae7620be33c7e90100778f94818b2a49a58fd7 /kde-modules/KDECompilerSettings.cmake
parent5b43e2def89b278d84344e0adf8d91b235d0f89a (diff)
downloadextra-cmake-modules-8cf3d0ae17b84adb484c4a32e4475a45fa51848a.tar.gz
extra-cmake-modules-8cf3d0ae17b84adb484c4a32e4475a45fa51848a.tar.bz2
also define _UNICODE on windows
Diffstat (limited to 'kde-modules/KDECompilerSettings.cmake')
-rw-r--r--kde-modules/KDECompilerSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
index fdc930e4..138bddb1 100644
--- a/kde-modules/KDECompilerSettings.cmake
+++ b/kde-modules/KDECompilerSettings.cmake
@@ -157,7 +157,7 @@ if (WIN32)
# Use the Unicode versions of Windows API by default
# See http://msdn.microsoft.com/en-us/library/windows/desktop/dd317766%28v=vs.85%29.aspx
- _kde_add_platform_definitions(-DUNICODE)
+ _kde_add_platform_definitions(-DUNICODE -D_UNICODE)
endif()