to .cfg format before setting the context.
"""
def __init__(self, configFileNames=0):
+ self.getLogger().setLevel(logging.INFO)
#it could be None explicitely (if user use multiples setVariable...for standalone)
if configFileNames is None:
return
IF (SALOMEPYTHONINTERP_FOUND AND NOT "${PYTHON_VERSION_STRING}" STREQUAL "")
# Trying to search libraries with same version as an interpreter version
SET(PythonLibs_FIND_VERSION ${PYTHON_VERSION_STRING})
+ SET(PythonLibs_FIND_VERSION_MAJOR ${PYTHON_VERSION_MAJOR})
ENDIF()
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(PythonLibs PYTHON_INCLUDE_DIR 2)