Commit 843a845c authored by Ghislain MARY's avatar Ghislain MARY

Give the current Python version to the CMake builder when building the Linphone Python module.

parent 0a726635
...@@ -77,6 +77,7 @@ class PythonTarget(prepare.Target): ...@@ -77,6 +77,7 @@ class PythonTarget(prepare.Target):
self.config_file = 'configs/config-python.cmake' self.config_file = 'configs/config-python.cmake'
self.output = 'OUTPUT/' + self.name self.output = 'OUTPUT/' + self.name
self.external_source_path = os.path.join(current_path, 'submodules') self.external_source_path = os.path.join(current_path, 'submodules')
self.additional_args += ["-DLINPHONE_BUILDER_PYTHON_VERSION={}.{}".format(sys.version_info.major, sys.version_info.minor)]
class PythonRaspberryTarget(prepare.Target): class PythonRaspberryTarget(prepare.Target):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment