BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481.
This commit is contained in:
parent
21fffc63a2
commit
ed5493509e
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue