summaryrefslogtreecommitdiff
path: root/Modules/FindQt3.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-11-22 11:33:46 -0500
committerBrad King <brad.king@kitware.com>2005-11-22 11:33:46 -0500
commited5493509ec5b59381ae94dc1641e1c75e891307 (patch)
tree8020ed4e0341fd5d1b8fbc7aa6e7160f7a5004d5 /Modules/FindQt3.cmake
parent21fffc63a23ff7cdbd0063dd1fb18f0142ba665a (diff)
downloadcmake-ed5493509ec5b59381ae94dc1641e1c75e891307.tar.gz
BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481.
Diffstat (limited to 'Modules/FindQt3.cmake')
-rw-r--r--Modules/FindQt3.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake
index c177012458..b58519f52e 100644
--- a/Modules/FindQt3.cmake
+++ b/Modules/FindQt3.cmake
@@ -217,7 +217,7 @@ IF(QT_FOUND)
IF (WIN32 AND NOT CYGWIN)
IF (QT_QTMAIN_LIBRARY)
# for version 3
- SET (QT_DEFINITIONS "-DQT_DLL -DQT_THREAD_SUPPORT -DNO_DEBUG")
+ SET (QT_DEFINITIONS -DQT_DLL -DQT_THREAD_SUPPORT -DNO_DEBUG)
SET (QT_LIBRARIES imm32.lib ${QT_QT_LIBRARY} ${QT_QTMAIN_LIBRARY} )
SET (QT_LIBRARIES ${QT_LIBRARIES} winmm wsock32)
ELSE (QT_QTMAIN_LIBRARY)
@@ -227,7 +227,7 @@ IF(QT_FOUND)
ELSE (WIN32 AND NOT CYGWIN)
SET (QT_LIBRARIES ${QT_QT_LIBRARY} )
- SET (QT_DEFINITIONS "-DQT_SHARED -DQT_NO_DEBUG")
+ SET (QT_DEFINITIONS -DQT_SHARED -DQT_NO_DEBUG)
IF(QT_QT_LIBRARY MATCHES "qt-mt")
SET (QT_DEFINITIONS ${QT_DEFINITIONS} -DQT_THREAD_SUPPORT -D_REENTRANT)
ENDIF(QT_QT_LIBRARY MATCHES "qt-mt")