Changed targetSystem() to targetPlatform().

This commit is contained in:
Gonzalo Exequiel Pedone 2021-02-22 22:02:01 -03:00
parent 2d058c9534
commit 83aa4ef201
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF
2 changed files with 6 additions and 6 deletions

View file

@ -33,9 +33,9 @@ endif ()
add_subdirectory(Manager) add_subdirectory(Manager)
if (APPLE) if (APPLE)
set(TARGET_SYSTEM mac) set(TARGET_PLATFORM mac)
elseif (WIN32) elseif (WIN32)
set(TARGET_SYSTEM windows) set(TARGET_PLATFORM windows)
endif () endif ()
file(WRITE ${CMAKE_BINARY_DIR}/package_info.conf 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" "description = AkVirtualCamera, virtual camera for Mac and Windows\n"
"url = https://github.com/webcamoid/akvirtualcamera\n" "url = https://github.com/webcamoid/akvirtualcamera\n"
"licenseDescription = GNU General Public License v3.0\n" "licenseDescription = GNU General Public License v3.0\n"
"targetSystem = ${TARGET_SYSTEM}\n") "targetPlatform = ${TARGET_PLATFORM}\n")

View file

@ -47,11 +47,11 @@ class Deploy(DTDeployBase.DeployBase, DTQt5.Qt5Tools):
self.mainBinary = os.path.join(self.binaryInstallDir, 'webcamoid') self.mainBinary = os.path.join(self.binaryInstallDir, 'webcamoid')
self.programName = os.path.basename(self.mainBinary) self.programName = os.path.basename(self.mainBinary)
self.detectMake() self.detectMake()
targetSystem = self.targetSystem() targetPlatform = self.targetPlatform()
if targetSystem == 'windows': if targetPlatform == 'windows':
self.targetSystem = 'posix_windows' self.targetSystem = 'posix_windows'
elif targetSystem == 'android': elif targetPlatform == 'android':
self.targetSystem = 'android' self.targetSystem = 'android'
self.binarySolver = DTBinaryElf.ElfBinaryTools() self.binarySolver = DTBinaryElf.ElfBinaryTools()