PyQt4Macros.cmake: also check for a prefixed version of pyuic4

fixes the lookup on Arch, which has python pointing to python3
This commit is contained in:
Jaka Kranjc 2014-01-02 23:18:47 +01:00
parent 929ea30c1c
commit 0f8a99e550

View File

@ -12,7 +12,7 @@ IF(NOT PYUIC4_PROGRAM)
PATHS $ENV{LIB_DIR}/bin
)
ELSE(MSVC)
FIND_PROGRAM(PYUIC4_PROGRAM pyuic4)
FIND_PROGRAM(PYUIC4_PROGRAM NAMES python2-pyuic4 pyuic4)
ENDIF (MSVC)
IF (NOT PYUIC4_PROGRAM)