From 843a845c95e801a1209cfb0698ec823211a76a97 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 13 Feb 2017 17:49:36 +0100 Subject: [PATCH] Give the current Python version to the CMake builder when building the Linphone Python module. --- prepare.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prepare.py b/prepare.py index f3caf337d..646cfeafb 100755 --- a/prepare.py +++ b/prepare.py @@ -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):