From: rnv Date: Fri, 31 Mar 2017 06:41:45 +0000 (+0300) Subject: Windows compatibility. X-Git-Tag: V8_3_0rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c194b5f22ff69f492ed5c3e750c9e89bd6fbcc3;p=tools%2Fconfiguration.git Windows compatibility. --- diff --git a/cmake/FindCAS.cmake b/cmake/FindCAS.cmake index 1b7c6b8..bce1609 100644 --- a/cmake/FindCAS.cmake +++ b/cmake/FindCAS.cmake @@ -87,6 +87,7 @@ IF(CAS_VERSION_STR VERSION_LESS "7.0.1") FIND_LIBRARY(CAS_FWOSPlugin FWOSPlugin PATH_SUFFIXES lib lin64/gcc/lib bin) ELSE() FIND_LIBRARY(CAS_TKStd TKStd PATH_SUFFIXES lib lin64/gcc/lib bin) + FIND_LIBRARY(CAS_TKStdL TKStdL PATH_SUFFIXES lib lin64/gcc/lib bin) ENDIF() FIND_LIBRARY(CAS_TKBin TKBin PATH_SUFFIXES lib lin64/gcc/lib bin) FIND_LIBRARY(CAS_TKBinL TKBinL PATH_SUFFIXES lib lin64/gcc/lib bin) @@ -222,6 +223,7 @@ IF(CAS_VERSION_STR VERSION_LESS "7.0.1") LIST(APPEND _libs CAS_FWOSPlugin) ELSE() LIST(APPEND _libs CAS_TKStd) + LIST(APPEND _libs CAS_TKStdL) ENDIF() IF(CAS_VERSION_STR VERSION_LESS "6.9.1") diff --git a/cmake/FindPyQt5.cmake b/cmake/FindPyQt5.cmake index 593e4c4..bb47768 100644 --- a/cmake/FindPyQt5.cmake +++ b/cmake/FindPyQt5.cmake @@ -88,8 +88,8 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(PyQt5 REQUIRED_VARS PYQT_PYUIC_EXECUTABLE PYQT # TODO: should be done like Sphinx in KERNEL (i.e. generating a shell script)? IF(WIN32 AND NOT CYGWIN) - SET(PYQT_PYUIC_PATH set PYTHONPATH=${PYQT_PYTHONPATH};${SIP_PYTHONPATH};%PYTHONPATH% && ${PYQT_PYUIC_EXECUTABLE}) - SET(PYQT_PYRCC_PATH set PYTHONPATH=${PYQT_PYTHONPATH};${SIP_PYTHONPATH};%PYTHONPATH% && ${PYQT_PYRCC_EXECUTABLE}) + SET(PYQT_PYUIC_PATH set PYTHONPATH=${PYQT_PYTHONPATH}\\\;${SIP_PYTHONPATH}\\\;%PYTHONPATH% && ${PYQT_PYUIC_EXECUTABLE}) + SET(PYQT_PYRCC_PATH set PYTHONPATH=${PYQT_PYTHONPATH}\\\;${SIP_PYTHONPATH}\\\;%PYTHONPATH% && ${PYQT_PYRCC_EXECUTABLE}) ELSE() STRING(REPLACE ";" ":" PYQT_PYTHONPATH "${PYQT_PYTHONPATH}") SET(PYQT_PYUIC_PATH /usr/bin/env PYTHONPATH="${PYQT_PYTHONPATH}:${SIP_PYTHONPATH}:$$PYTHONPATH" ${PYQT_PYUIC_EXECUTABLE}) diff --git a/cmake/FindSalomeCAS.cmake b/cmake/FindSalomeCAS.cmake index 45e68e7..94f9371 100755 --- a/cmake/FindSalomeCAS.cmake +++ b/cmake/FindSalomeCAS.cmake @@ -42,6 +42,7 @@ IF(CAS_VERSION_STR VERSION_LESS "7.0.1") MARK_AS_ADVANCED(CAS_FWOSPlugin) ELSE() MARK_AS_ADVANCED(CAS_TKStd) + MARK_AS_ADVANCED(CAS_TKStdL) ENDIF() IF(CAS_VERSION_STR VERSION_LESS "7.0")