diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-20 20:26:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-20 20:26:54 (GMT) |
commit | 44803a00c5993439f905810998732db5661e7ead (patch) | |
tree | 7193c71d1e8fdf96479cb22d6e8b03ec36b343eb | |
parent | d7c6f51d00510175ecc61709fd22ae98889e145c (diff) | |
download | CMake-44803a00c5993439f905810998732db5661e7ead.zip CMake-44803a00c5993439f905810998732db5661e7ead.tar.gz CMake-44803a00c5993439f905810998732db5661e7ead.tar.bz2 |
ENH: look for qtmoc in some other places
-rw-r--r-- | Modules/FindQt.cmake | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 2645e3a..995d43f 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -49,12 +49,18 @@ FIND_LIBRARY(QT_QASSISTANTCLIENT_LIBRARY C:/Progra~1/qt/lib ) -FIND_PROGRAM(QT_MOC_EXECUTABLE moc - $ENV{QTDIR}/bin C:/Progra~1/qt/bin +FIND_PROGRAM(QT_MOC_EXECUTABLE + NAMES moc moc-qt3 + PATHS + $ENV{QTDIR}/bin + "C:/Program Files/qt/bin" + C:/Progra~1/qt/bin + /usr/bin + ) FIND_PROGRAM(QT_UIC_EXECUTABLE uic - $ENV{QTDIR}/bin C:/Progra~1/qt/bin + $ENV{QTDIR}/bin C:/Progra~1/qt/bin /usr/bin ) |