Skip to content

Commit

Permalink
PyQt4Macros.cmake: also check for a prefixed version of pyuic4
Browse files Browse the repository at this point in the history
fixes the lookup on Arch, which has python pointing to python3
  • Loading branch information
lynxlynxlynx committed Jan 2, 2014
1 parent 929ea30 commit 0f8a99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/PyQt4Macros.cmake
Expand Up @@ -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)
Expand Down

0 comments on commit 0f8a99e

Please sign in to comment.