mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
Give the current Python version to the CMake builder when building the Linphone Python module.
This commit is contained in:
parent
0a72663581
commit
843a845c95
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ class PythonTarget(prepare.Target):
|
|||
self.config_file = 'configs/config-python.cmake'
|
||||
self.output = 'OUTPUT/' + self.name
|
||||
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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue