From 83aa4ef201f32789591065af550b83562346bb92 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Mon, 22 Feb 2021 22:02:01 -0300 Subject: [PATCH] Changed targetSystem() to targetPlatform(). --- CMakeLists.txt | 6 +++--- ports/deploy/deploy_posix.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f1da90..7be452d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,9 +33,9 @@ endif () add_subdirectory(Manager) if (APPLE) - set(TARGET_SYSTEM mac) + set(TARGET_PLATFORM mac) elseif (WIN32) - set(TARGET_SYSTEM windows) + set(TARGET_PLATFORM windows) endif () file(WRITE ${CMAKE_BINARY_DIR}/package_info.conf @@ -46,4 +46,4 @@ file(WRITE ${CMAKE_BINARY_DIR}/package_info.conf "description = AkVirtualCamera, virtual camera for Mac and Windows\n" "url = https://github.com/webcamoid/akvirtualcamera\n" "licenseDescription = GNU General Public License v3.0\n" - "targetSystem = ${TARGET_SYSTEM}\n") + "targetPlatform = ${TARGET_PLATFORM}\n") diff --git a/ports/deploy/deploy_posix.py b/ports/deploy/deploy_posix.py index 5d6fa8d..742d907 100644 --- a/ports/deploy/deploy_posix.py +++ b/ports/deploy/deploy_posix.py @@ -47,11 +47,11 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools): self.mainBinary = os.path.join(self.binaryInstallDir, 'webcamoid') self.programName = os.path.basename(self.mainBinary) self.detectMake() - targetSystem = self.targetSystem() + targetPlatform = self.targetPlatform() - if targetSystem == 'windows': + if targetPlatform == 'windows': self.targetSystem = 'posix_windows' - elif targetSystem == 'android': + elif targetPlatform == 'android': self.targetSystem = 'android' self.binarySolver = DTBinaryElf.ElfBinaryTools()