From: ana Date: Mon, 16 May 2016 15:58:04 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V7_8_0rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f56f39a6f410898380bd0d9143538d680a7bf2b;p=modules%2Fkernel.git Windows compatibility --- diff --git a/salome_adm/cmake_files/FindSalomePythonLibs.cmake b/salome_adm/cmake_files/FindSalomePythonLibs.cmake index 2228abb1d..993aeee6c 100644 --- a/salome_adm/cmake_files/FindSalomePythonLibs.cmake +++ b/salome_adm/cmake_files/FindSalomePythonLibs.cmake @@ -36,6 +36,9 @@ IF (SALOMEPYTHONINTERP_FOUND AND NOT "${PYTHON_VERSION_STRING}" STREQUAL "") SET(PythonLibs_FIND_VERSION ${PYTHON_VERSION_STRING}) SET(PythonLibs_FIND_VERSION_MAJOR ${PYTHON_VERSION_MAJOR}) ENDIF() +IF(WIN32) + set(CMAKE_LIBRARY_PATH "${PYTHON_ROOT_DIR}/libs") +ENDIF() SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(PythonLibs PYTHON_INCLUDE_DIR 2) IF(SALOMEPYTHONLIBS_FOUND)