Do not download gtest in flatpak.
This commit is contained in:
parent
b814b39c38
commit
bd43b9cb10
|
@ -21,10 +21,13 @@ class Kiwixlib(Dependency):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def configure_option(self):
|
def configure_option(self):
|
||||||
if self.buildEnv.platformInfo.build == 'android':
|
platformInfo = self.buildEnv.platformInfo
|
||||||
|
if platformInfo.build == 'android':
|
||||||
return '-Dandroid=true'
|
return '-Dandroid=true'
|
||||||
if self.buildEnv.platformInfo.build == 'iOS':
|
if platformInfo.build == 'iOS':
|
||||||
return '-Db_bitcode=true'
|
return '-Db_bitcode=true'
|
||||||
|
if platformInfo.name == 'flatpak':
|
||||||
|
return '--wrap-mode=nodownload'
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue