From: Stephen Kelly Date: Thu, 23 Feb 2012 00:05:46 +0000 (+0100) Subject: Use the CMake definition of Windows for CMake macros. X-Git-Tag: qt-v5.0.0-alpha1~840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5942556d65924f07750c4e1e96a7a9e908e77d11;p=profile%2Fivi%2Fqtbase.git Use the CMake definition of Windows for CMake macros. Change-Id: I599ddaaf9176f76f2e144c893e607757957dfef2 Reviewed-by: Clinton Stimpson Reviewed-by: Stephen Kelly --- diff --git a/src/corelib/Qt5CoreMacros.cmake b/src/corelib/Qt5CoreMacros.cmake index abfe49e..4a10fad 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()