summaryrefslogtreecommitdiff
path: root/src/corelib/Qt5CoreMacros.cmake
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-02-23 01:05:46 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-23 01:36:14 +0100
commit5942556d65924f07750c4e1e96a7a9e908e77d11 (patch)
treede193b881bfffa7cf8b173391169d8ac779be0d3 /src/corelib/Qt5CoreMacros.cmake
parenteec25d44e43e80d200f4bfaa7b78e094e6a01df6 (diff)
downloadqtbase-5942556d65924f07750c4e1e96a7a9e908e77d11.tar.gz
Use the CMake definition of Windows for CMake macros.
Change-Id: I599ddaaf9176f76f2e144c893e607757957dfef2 Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/Qt5CoreMacros.cmake')
-rw-r--r--src/corelib/Qt5CoreMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/Qt5CoreMacros.cmake b/src/corelib/Qt5CoreMacros.cmake
index abfe49ec84..4a10fad9eb 100644
--- a/src/corelib/Qt5CoreMacros.cmake
+++ b/src/corelib/Qt5CoreMacros.cmake
@@ -83,7 +83,7 @@ macro(QT5_GET_MOC_FLAGS _moc_flags)
set(${_moc_flags} ${${_moc_flags}} "-D${_current}")
endforeach()
- if(Q_WS_WIN)
+ if(WIN32)
set(${_moc_flags} ${${_moc_flags}} -DWIN32)
endif()
endmacro()