projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec25d4
)
Use the CMake definition of Windows for CMake macros.
author
Stephen Kelly
<stephen.kelly@kdab.com>
Thu, 23 Feb 2012 00:05:46 +0000
(
01:05
+0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 23 Feb 2012 00:36:14 +0000
(
01:36
+0100)
Change-Id: I599ddaaf9176f76f2e144c893e607757957dfef2
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/Qt5CoreMacros.cmake
patch
|
blob
|
history
diff --git
a/src/corelib/Qt5CoreMacros.cmake
b/src/corelib/Qt5CoreMacros.cmake
index
abfe49e
..
4a10fad
100644
(file)
--- 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()