From 7575645fa253e4e4ee627138e20b9142a76b30e4 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 27 Feb 2007 21:07:06 +0000 Subject: -don't use "-L" and "-l" because I don't think this works with MSVC and it might mess up the link dir ordering -don't use the cache for the modified QTUITOOLS_LIBRARY, because this will only work if it's not yet in the cache Does it work better this way ? Alex CCMAIL: thiago@kde.org svn path=/trunk/KDE/kdelibs/; revision=637801 --- modules/FindQt4.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake index 2ce57bbe..f4ed6e61 100644 --- a/modules/FindQt4.cmake +++ b/modules/FindQt4.cmake @@ -725,7 +725,7 @@ IF (QT4_QMAKE_FOUND) ENDIF(WIN32) IF(QT_QTSCRIPT_LIBRARY AND QT_QTUITOOLS_LIBRARY) - SET(QT_QTUITOOLS_LIBRARY "-L${QT_LIBRARY_DIR} -lQtUiTools -lQtScript" CACHE STRING "The QtUiTools library.") + SET(QT_QTUITOOLS_LIBRARY ${QT_QTUITOOLS_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ) ENDIF(QT_QTSCRIPT_LIBRARY AND QT_QTUITOOLS_LIBRARY) ####################################### -- cgit v1.2.1