summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-11-22 16:33:46 (GMT)
committerBrad King <brad.king@kitware.com>2005-11-22 16:33:46 (GMT)
commited5493509ec5b59381ae94dc1641e1c75e891307 (patch)
tree8020ed4e0341fd5d1b8fbc7aa6e7160f7a5004d5
parent21fffc63a23ff7cdbd0063dd1fb18f0142ba665a (diff)
downloadCMake-ed5493509ec5b59381ae94dc1641e1c75e891307.zip
CMake-ed5493509ec5b59381ae94dc1641e1c75e891307.tar.gz
CMake-ed5493509ec5b59381ae94dc1641e1c75e891307.tar.bz2
BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481.
-rw-r--r--Modules/FindQt3.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake
index c177012..b58519f 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")