diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-02-23 01:05:46 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-23 01:36:14 +0100 |
commit | 5942556d65924f07750c4e1e96a7a9e908e77d11 (patch) | |
tree | de193b881bfffa7cf8b173391169d8ac779be0d3 /src/corelib/Qt5CoreMacros.cmake | |
parent | eec25d44e43e80d200f4bfaa7b78e094e6a01df6 (diff) | |
download | qtbase-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.cmake | 2 |
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() |