]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Windows compatibility
authorana <ana@opencascade.com>
Mon, 16 May 2016 15:58:04 +0000 (18:58 +0300)
committerana <ana@opencascade.com>
Mon, 16 May 2016 15:58:04 +0000 (18:58 +0300)
salome_adm/cmake_files/FindSalomePythonLibs.cmake

index 2228abb1d0f501796fff4ac87abbe3c42d8d66f1..993aeee6c6b3a97507d3c8501a331254eb1645e7 100644 (file)
@@ -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)