diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-02-27 21:07:06 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-02-27 21:07:06 +0000 |
commit | 7575645fa253e4e4ee627138e20b9142a76b30e4 (patch) | |
tree | 9a21ae6264c7ad7ecb91e8ba28030df025b91873 /modules | |
parent | a67888368e887ab56b1647298ff7d3e4bb526a6b (diff) | |
download | extra-cmake-modules-7575645fa253e4e4ee627138e20b9142a76b30e4.tar.gz extra-cmake-modules-7575645fa253e4e4ee627138e20b9142a76b30e4.tar.bz2 |
-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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindQt4.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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) ####################################### |