From 5c879fdafc032ec9b612c6db6d8b0d56594723b3 Mon Sep 17 00:00:00 2001 From: mnt Date: Mon, 16 May 2016 21:30:47 +0300 Subject: [PATCH] Synchronize adm files --- cmake_files/FindSalomePythonLibs.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake_files/FindSalomePythonLibs.cmake b/cmake_files/FindSalomePythonLibs.cmake index 2228abb1d..993aeee6c 100644 --- a/cmake_files/FindSalomePythonLibs.cmake +++ b/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) -- 2.39.2