ENDIF()
FIND_PROGRAM(SIP_EXECUTABLE sip)
-FIND_PATH(SIP_INCLUDE_DIR sip.h PATH_SUFFIXES python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR})
+FIND_PATH(SIP_INCLUDE_DIR sip.h PATH_SUFFIXES python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}m)
IF(SIP_INCLUDE_DIR)
GET_FILENAME_COMPONENT(SIP_PYTHONPATH "${SIP_INCLUDE_DIR}" PATH)
ENDIF()
#MARK_AS_ADVANCED()
+IF(NOT LIBXML2_INCLUDE_DIR)
+ SET(LIBXML2_INCLUDE_DIR ${LIBXML2_INCLUDE_DIRS})
+ENDIF()
+
IF(LIBXML2_FOUND)
SALOME_ACCUMULATE_HEADERS(LIBXML2_INCLUDE_DIR)
SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${LIBXML2_LIBRARIES})