From: adam Date: Thu, 14 May 2009 15:31:27 +0000 (+0000) Subject: Windows port X-Git-Tag: V5_1_2rc1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32a00176dac0695ca41ed69a1402d7fa047329a5;p=modules%2Fgui.git Windows port --- diff --git a/adm_local/cmake_files/FindSIPPYQT.cmake b/adm_local/cmake_files/FindSIPPYQT.cmake index 1f4ff9503..126341ea8 100644 --- a/adm_local/cmake_files/FindSIPPYQT.cmake +++ b/adm_local/cmake_files/FindSIPPYQT.cmake @@ -28,9 +28,17 @@ GET_FILENAME_COMPONENT(SIP_ROOT ${SIP_ROOT} PATH) GET_FILENAME_COMPONENT(SIP_ROOT ${SIP_ROOT} PATH) ENDIF(SIP_ROOT) -SET(SIP_INCLUDES -I${SIP_ROOT}/include/python${PYTHON_VERSION}) +IF(WINDOWS) + SET(SIP_INCLUDES -I${SIP_ROOT}/include) +ELSE(WINDOWS) + SET(SIP_INCLUDES -I${SIP_ROOT}/include/python${PYTHON_VERSION}) +ENDIF(WINDOWS) -FIND_PROGRAM(PYUIC_EXECUTABLE pyuic4) +IF(WINDOWS) + FIND_PROGRAM(PYUIC_EXECUTABLE NAMES pyuic4 pyuic4.bat) +ELSE(WINDOWS) + FIND_PROGRAM(PYUIC_EXECUTABLE NAMES pyuic4) +ENDIF(WINDOWS) SET(PYUIC_ROOT ${PYUIC_EXECUTABLE}) IF(PYUIC_ROOT)