Changed targetSystem() to targetPlatform().
This commit is contained in:
parent
2d058c9534
commit
83aa4ef201
2 changed files with 6 additions and 6 deletions
|
@ -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")
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue