]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Synchronize adm files
authormnt <mnt@opencascade.com>
Tue, 24 May 2016 18:13:31 +0000 (21:13 +0300)
committermnt <mnt@opencascade.com>
Tue, 24 May 2016 18:13:31 +0000 (21:13 +0300)
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)