diff options
| author | Ralf Habacker <ralf.habacker@freenet.de> | 2007-09-11 16:59:26 +0000 | 
|---|---|---|
| committer | Ralf Habacker <ralf.habacker@freenet.de> | 2007-09-11 16:59:26 +0000 | 
| commit | bddc41623e84bf78e606097567657677424039a8 (patch) | |
| tree | 58af646d8a7542170494de993094f75573a841cd | |
| parent | 0b2c28854a84b829db93d318759cfe315807c42b (diff) | |
| download | extra-cmake-modules-bddc41623e84bf78e606097567657677424039a8.tar.gz extra-cmake-modules-bddc41623e84bf78e606097567657677424039a8.tar.bz2 | |
win32 requires a variable containing the qt install dir
svn path=/trunk/KDE/kdelibs/; revision=711183
| -rw-r--r-- | modules/FindQt4.cmake | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake index d493a4ee..31117da0 100644 --- a/modules/FindQt4.cmake +++ b/modules/FindQt4.cmake @@ -291,6 +291,12 @@ ENDIF (QT_QMAKE_EXECUTABLE)  IF (QT4_QMAKE_FOUND) +  if (WIN32) +    # get qt install dir  +    get_filename_component(_DIR ${QT_QMAKE_EXECUTABLE} PATH ) +    get_filename_component(QT4_INSTALL_DIR ${_DIR} PATH ) +  endif (WIN32) +    # ask qmake for the library dir    # Set QT_LIBRARY_DIR    IF (NOT QT_LIBRARY_DIR) | 
