]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Find pyrcc4 executable added
authorvsv <vsv@opencascade.com>
Fri, 11 Oct 2013 06:58:27 +0000 (06:58 +0000)
committervsv <vsv@opencascade.com>
Fri, 11 Oct 2013 06:58:27 +0000 (06:58 +0000)
adm_local/cmake_files/FindPyQt4.cmake

index 5de9414215aee1f34d02a7312738ee14ba8c239a..706197425d2026c5e82b7e4d4d16727816064163 100644 (file)
@@ -44,6 +44,7 @@ IF(NOT PyQt4_FIND_QUIETLY)
 ENDIF()
 
 FIND_PROGRAM(PYQT_PYUIC_PATH NAMES pyuic4 pyuic4.bat)
+FIND_PROGRAM(PYQT_PYRCC_EXECUTABLE NAMES pyrcc4 pyrcc4.exe)
 
 # Get root dir locally, going up two levels from the exec:
 GET_FILENAME_COMPONENT(_tmp_ROOT_DIR "${PYQT_PYUIC_PATH}" PATH)
@@ -93,5 +94,5 @@ FOREACH(_dir ${PYQT_INCLUDE_DIRS})
 ENDFOREACH()
 
 INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(PyQt4 REQUIRED_VARS PYQT_PYUIC_PATH PYQT_SIPS_DIR PYQT_SIPFLAGS)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(PyQt4 REQUIRED_VARS PYQT_PYUIC_PATH PYQT_SIPS_DIR PYQT_SIPFLAGS )