summaryrefslogtreecommitdiff
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2010-07-02 15:43:38 -0600
committerClinton Stimpson <clinton@elemtech.com>2010-07-02 15:47:07 -0600
commitb55da4c688bbf55b442908464e0f7e2e41c937a3 (patch)
treea84028fddb99e84fd616cea6b11178b656bbc6e3 /Modules/UseQt4.cmake
parentc3389d4ce2a8d3ee0ec1d4824a64347ded5832a0 (diff)
downloadcmake-b55da4c688bbf55b442908464e0f7e2e41c937a3.tar.gz
Add cross-compiling support to FindQt4.cmake
Diffstat (limited to 'Modules/UseQt4.cmake')
-rw-r--r--Modules/UseQt4.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index 63a0919730..ea0ab958aa 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -27,9 +27,9 @@ INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
SET(QT_LIBRARIES "")
IF (QT_USE_QTMAIN)
- IF (WIN32)
+ IF (Q_WS_WIN)
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})
- ENDIF (WIN32)
+ ENDIF (Q_WS_WIN)
ENDIF (QT_USE_QTMAIN)
IF(QT_DONT_USE_QTGUI)