mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)
On Debian moc and uic from Qt3 have '-qt3' suffixes. The latter names might come from Qt4, so prefer the version-specific names. Patch from Modestas Vainius. See issue #9659.
This commit is contained in:
parent
b304186bc5
commit
a0e63cff1d
@ -138,7 +138,7 @@ FIND_LIBRARY(QT_QASSISTANTCLIENT_LIBRARY
|
||||
|
||||
# qt 3 should prefer QTDIR over the PATH
|
||||
FIND_PROGRAM(QT_MOC_EXECUTABLE
|
||||
NAMES moc moc-qt3
|
||||
NAMES moc-qt3 moc
|
||||
HINTS
|
||||
$ENV{QTDIR}/bin
|
||||
PATHS
|
||||
@ -160,7 +160,8 @@ IF(QT_MOC_EXECUTABLE)
|
||||
ENDIF(QT_MOC_EXECUTABLE)
|
||||
|
||||
# qt 3 should prefer QTDIR over the PATH
|
||||
FIND_PROGRAM(QT_UIC_EXECUTABLE uic
|
||||
FIND_PROGRAM(QT_UIC_EXECUTABLE
|
||||
NAMES uic-qt3 uic
|
||||
HINTS
|
||||
$ENV{QTDIR}/bin
|
||||
PATHS
|
||||
|
Loading…
Reference in New Issue
Block a user